Module Expr Str ImportFrom alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body ImportFrom alias identifier ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias Assign NameStore TupleLoad Str ClassDef bases NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults body If BoolOpAnd Call NameLoad NameLoad Str UnaryOpNot Call AttributeLoad NameLoad attr body Return NameLoad Assign NameStore Dict Str AttributeLoad NameLoad attr If Call NameLoad NameLoad Str body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr If Call NameLoad NameLoad Str body Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr orelse If Call NameLoad NameLoad Str body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Dict Assign NameStore Call NameLoad NameLoad Str NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body If Call AttributeLoad NameLoad attr body Assign NameStore Str orelse Assign NameStore Str Assign NameStore Call NameLoad NameLoad Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad AttributeLoad NameLoad attr If CompareNotIn AttributeLoad NameLoad attr TupleLoad Str Str body TryExcept body Assign NameStore AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body TryExcept body Assign NameStore AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body TryExcept body Assign NameStore BoolOpOr AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad body Assign NameStore Str orelse Assign NameStore NameLoad Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Dict Str Dict Str Str Str Str Str Str Str AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Call NameLoad AttributeLoad NameLoad attr Call NameLoad Call NameLoad NameLoad Call NameLoad Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad For NameStore Call AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str If UnaryOpNot NameLoad body Continue If Call AttributeLoad NameLoad attr Str body Assign SubscriptStore NameLoad Index Str NameLoad If BoolOpAnd UnaryOpNot AttributeLoad NameLoad attr CompareIn Str AttributeLoad NameLoad attr body TryExcept body ImportFrom alias Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore BoolOpOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str NameLoad handlers ExceptHandler type NameLoad body TryExcept body Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Pass Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad kwarg body If CompareNotIn Str NameLoad body Assign SubscriptStore NameLoad Index Str NameStore Dict orelse Assign NameStore SubscriptLoad NameLoad Index Str If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call NameLoad NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad If Call AttributeLoad NameLoad attr Str body Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Num If BoolOpOr Call NameLoad NameLoad Str BoolOpAnd Call NameLoad NameLoad NameLoad Call NameLoad Call NameLoad NameLoad Str NameLoad TupleLoad NameLoad NameLoad Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad Call NameLoad NameLoad Str body Assign NameStore Call NameLoad NameLoad Str Call NameLoad NameLoad Str NameLoad Assign NameStore Call NameLoad NameLoad Str NameLoad If CompareIs NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad If BoolOpAnd NameLoad NameLoad body Assign AttributeStore NameLoad attr Dict Str Str Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list decorator_list
N/A N/A 
raven.contrib.django.client
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

:copyright: (c) 2010-2012 by the Sentry Team, see AUTHORS for more details.
:license: BSD, see LICENSE for more details.
 __future__ absolute_import N/A logging django.conf settings django.core.exceptions SuspiciousOperation django.http HttpRequest django.template TemplateSyntaxError N/A N/A django.template.base Origin N/A N/A N/A ImportError N/A django.template.loader LoaderOrigin Origin raven.base Client raven.contrib.django.utils get_data_from_template get_host raven.contrib.django.middleware SentryLogMiddleware raven.utils.wsgi get_headers get_environ N/A __all__ N/A DjangoClient DjangoClient N/A Client N/A N/A logger N/A N/A logging getLogger sentry.errors.client.django get_user_info N/A N/A self user N/A N/A N/A N/A N/A hasattr user is_authenticated N/A N/A N/A user is_authenticated N/A N/A None N/A user_info N/A id N/A user pk N/A N/A hasattr user email N/A N/A N/A user_info N/A email N/A user email N/A N/A hasattr user get_username N/A N/A N/A user_info N/A username N/A N/A user get_username N/A N/A N/A hasattr user username N/A N/A N/A user_info N/A username N/A user username N/A user_info N/A get_data_from_request N/A N/A self request N/A N/A N/A result N/A N/A user N/A getattr request user None N/A N/A user None N/A N/A user_info N/A N/A self get_user_info user N/A user_info N/A N/A N/A result N/A user user_info N/A N/A N/A uri N/A N/A request build_absolute_uri N/A N/A N/A SuspiciousOperation N/A N/A N/A N/A request is_secure N/A N/A scheme https N/A N/A scheme http N/A host N/A get_host request N/A uri N/A %s://%s%s N/A scheme host N/A request path N/A N/A N/A request method N/A GET HEAD N/A N/A N/A N/A data N/A request body N/A N/A N/A Exception N/A N/A N/A N/A data N/A request raw_post_data N/A N/A N/A Exception N/A N/A N/A N/A data N/A N/A request POST <unavailable> N/A N/A N/A Exception N/A N/A data <unavailable> N/A N/A data None N/A environ N/A request META N/A N/A N/A result update N/A request N/A method url query_string data cookies headers env N/A request method uri N/A N/A N/A request META get QUERY_STRING data N/A dict N/A request COOKIES N/A dict N/A get_headers environ N/A dict N/A get_environ environ N/A result N/A build_msg N/A N/A self N/A args kwargs N/A N/A data N/A N/A N/A super DjangoClient self build_msg args kwargs N/A frame N/A N/A self _iter_frames data N/A N/A module N/A N/A frame get module N/A N/A module N/A N/A N/A N/A N/A module startswith django. N/A N/A N/A frame N/A in_app False N/A N/A N/A N/A self site N/A django.contrib.sites N/A settings INSTALLED_APPS N/A N/A N/A django.contrib.sites.models Site N/A site N/A N/A N/A Site objects get_current N/A site_name N/A N/A site name N/A site domain N/A N/A N/A N/A data N/A tags setdefault site site_name N/A N/A N/A Exception N/A N/A N/A N/A N/A N/A N/A data N/A tags setdefault site N/A settings SITE_ID N/A N/A N/A AttributeError N/A N/A N/A data N/A capture N/A N/A self event_type request N/A None kwargs N/A N/A N/A data kwargs N/A N/A N/A kwargs N/A data data N/A N/A N/A data N/A kwargs N/A data N/A N/A request None N/A N/A request N/A getattr N/A SentryLogMiddleware thread request None N/A is_http_request N/A isinstance request HttpRequest N/A is_http_request N/A N/A N/A N/A data update N/A N/A self get_data_from_request request N/A N/A N/A kwargs get exc_info N/A N/A exc_value N/A N/A kwargs N/A exc_info N/A 1 N/A N/A N/A hasattr exc_value django_template_source N/A N/A isinstance exc_value TemplateSyntaxError N/A isinstance N/A getattr exc_value source None N/A tuple list N/A isinstance N/A N/A exc_value source N/A 0 Origin N/A hasattr exc_value template_debug N/A N/A source N/A getattr exc_value django_template_source N/A getattr exc_value source None N/A debug N/A getattr exc_value template_debug None N/A N/A source None N/A N/A N/A N/A N/A self logger info Unable to get template source from exception N/A N/A N/A data update N/A get_data_from_template source debug N/A result N/A N/A N/A super DjangoClient self capture event_type kwargs N/A N/A is_http_request result N/A N/A N/A request sentry N/A project_id id N/A N/A data get project N/A N/A self remote project N/A N/A self get_ident result N/A result N/A N/A