Module Expr Str ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr 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 Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list decorator_list
N/A N/A this is the locale selecting middleware that will look at accept headers django.utils.cache patch_vary_headers django.utils translation LocaleMiddleware N/A object N/A N/A 
    This is a very simple middleware that parses a request
    and decides what translation object to install in the current
    thread context. This allows pages to be dynamically
    translated to the language the user desires (if the language
    is available, of course).
     process_request N/A N/A self request N/A N/A N/A language N/A N/A translation 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 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