Module ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call NameLoad NameLoad TupleLoad Str If CompareNotIn Str NameLoad body Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias Assign NameStore Call NameLoad AttributeLoad NameLoad attr If Call NameLoad NameLoad Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad If BoolOpAnd CompareIn NameLoad NameLoad CompareIsNot NameLoad NameLoad body Return NameLoad Return AttributeLoad NameLoad attr decorator_list
N/A django.utils.cache patch_vary_headers django.utils translation MinimalLocaleMiddleware N/A object N/A N/A 
    This is a minimal version of the LocaleMiddleware from Django.
    It only supports setting the current language from sessions.
    This allows the main site to be in one language while the site
    administrators can switch the language, so they don't experience
    problems while editing original database content when this is not
    in the main site's language.
     process_request N/A N/A self request N/A N/A N/A language N/A get_language_from_request request N/A N/A N/A translation activate language N/A N/A request LANGUAGE_CODE N/A N/A translation get_language N/A process_response N/A N/A self request response N/A N/A N/A N/A patch_vary_headers response N/A Accept-Language N/A N/A Content-Language response N/A N/A N/A response N/A Content-Language N/A N/A translation get_language N/A N/A N/A translation deactivate N/A response N/A N/A get_language_from_request N/A N/A request N/A N/A django.conf settings N/A supported N/A dict N/A settings LANGUAGES N/A N/A hasattr request session N/A N/A lang_code N/A N/A N/A request session get django_language None N/A N/A N/A lang_code supported N/A lang_code None N/A N/A lang_code N/A N/A settings LANGUAGE_CODE N/A