Module Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Str ListLoad Str Str ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad If BoolOpAnd CompareIn Str AttributeLoad NameLoad attr CompareIn Str AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str orelse If CompareIn Str AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str TryExcept body Assign NameStore Call NameLoad ListComp Call AttributeLoad NameLoad attr Str comprehension NameStore Call AttributeLoad NameLoad attr Str If BoolOpAnd CompareIn Str NameLoad CompareIn Str NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad body Pass orelse If CompareIn Str AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If BoolOpAnd NameLoad NameLoad body Assign NameStore Call NameLoad Call NameLoad NameLoad Call NameLoad NameLoad keyword Num If NameLoad body Assign NameStore Call NameLoad NameLoad orelse Assign NameStore NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body If Call NameLoad NameLoad NameLoad body Return orelse If Call NameLoad NameLoad NameLoad body Return orelse If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str keyword NameLoad orelse Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad Call NameLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Return Call NameLoad NameLoad keyword Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If BoolOpAnd NameLoad CompareIn NameLoad Call NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad orelse If Call NameLoad NameLoad Str body Assign NameStore AttributeLoad NameLoad attr Delete AttributeDel NameLoad attr Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad orelse Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If BoolOpAnd NameLoad CompareIn NameLoad Call NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list
N/A N/A sys N/A logging collections namedtuple django.http Http404 django.conf settings django.contrib.gis.geos Point django.core.exceptions ImproperlyConfigured PermissionDenied django.middleware.locale LocaleMiddleware django.utils translation django.core.signals got_request_exception molly.utils.views handler500 N/A logger N/A N/A logging getLogger __name__ N/A Location N/A namedtuple Location N/A point accuracy LocationMiddleware N/A object N/A N/A 
    Adds a user_location attribute to requests where the user's location
    can be determined by any of a number of means (query string parameters,
    HTTP header, previously set session variable, etc)
    
    user_location is a namedtuple of (point, accuracy). user_location.point
    is a django.contrib.gis.geos.Point object using SRID 4326
     process_request N/A N/A self request N/A N/A N/A latitude None N/A longitude None N/A accuracy None N/A N/A N/A latitude N/A request GET N/A longitude N/A request GET N/A N/A latitude N/A N/A request GET N/A latitude N/A longitude N/A N/A request GET N/A longitude N/A accuracy N/A N/A N/A request GET get accuracy N/A N/A N/A HTTP_X_CURRENT_LOCATION N/A request META N/A N/A location_string N/A N/A request META N/A HTTP_X_CURRENT_LOCATION N/A N/A N/A temp_dict N/A dict N/A N/A N/A token split = N/A token N/A N/A location_string split , N/A N/A N/A latitude temp_dict N/A longitude temp_dict N/A N/A latitude N/A temp_dict N/A latitude N/A longitude N/A temp_dict N/A longitude N/A accuracy N/A N/A temp_dict get accuracy N/A N/A N/A ValueError N/A N/A N/A N/A N/A geolocation:location N/A request session N/A N/A N/A longitude latitude N/A N/A request session N/A geolocation:location N/A accuracy N/A N/A N/A request session get geolocation:accuracy N/A N/A latitude longitude N/A N/A point N/A Point N/A float longitude N/A float latitude srid 4326 N/A accuracy N/A N/A accuracy N/A float accuracy N/A N/A accuracy None N/A N/A request user_location N/A Location point accuracy N/A N/A ErrorHandlingMiddleware N/A object N/A process_exception N/A N/A self request exception N/A N/A N/A N/A isinstance exception Http404 N/A N/A N/A N/A N/A isinstance exception PermissionDenied N/A N/A N/A N/A N/A isinstance exception ImproperlyConfigured N/A N/A N/A N/A logger critical Site improperly configured exc_info True N/A N/A N/A N/A logger exception N/A [500] %s at %s N/A N/A N/A type exception __name__ N/A request path N/A N/A N/A got_request_exception send sender self request request N/A N/A handler500 request exc_info N/A N/A sys exc_info N/A N/A CookieLocaleMiddleware N/A LocaleMiddleware N/A process_request N/A N/A self request N/A N/A N/A language_code N/A N/A N/A request REQUEST get language_code N/A N/A language_code N/A language_code N/A dict N/A settings LANGUAGES N/A N/A N/A N/A translation activate language_code N/A N/A N/A hasattr request session N/A N/A session N/A request session N/A N/A request session N/A N/A N/A N/A super CookieLocaleMiddleware self process_request request N/A N/A request session session N/A N/A N/A N/A N/A super CookieLocaleMiddleware self process_request request N/A process_response N/A N/A self request response N/A N/A N/A language_code N/A N/A N/A request REQUEST get language_code N/A N/A language_code N/A language_code N/A dict N/A settings LANGUAGES N/A N/A N/A N/A response set_cookie N/A settings LANGUAGE_COOKIE_NAME language_code N/A N/A N/A N/A super CookieLocaleMiddleware self process_response request response N/A N/A