Module Import alias Import alias Import alias Assign NameStore Call AttributeLoad NameLoad attr Str ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body If Call NameLoad NameLoad Str body Return AttributeLoad NameLoad attr If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr NameLoad Return NameLoad Assign AttributeStore NameLoad attr TupleLoad For NameStore AttributeLoad NameLoad attr body AugAssignAdd AttributeStore NameLoad attr TupleLoad Call AttributeLoad NameLoad attr NameLoad Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If BoolOpOr CompareNotEq AttributeLoad NameLoad attr Num UnaryOpNot Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str UnaryOpNot AttributeLoad NameLoad attr body Return NameLoad If CompareIsNot Call AttributeLoad NameLoad attr NameLoad body For NameStore Call AttributeLoad NameLoad attr body If Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Dict Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index Str Call NameLoad AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad Call NameLoad NameLoad attr Str Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Assign AttributeStore NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Expr Call NameLoad NameLoad Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call NameLoad NameLoad If BoolOpOr UnaryOpNot Call NameLoad NameLoad Str UnaryOpNot AttributeLoad NameLoad attr body Return NameLoad If CompareNotEq AttributeLoad NameLoad attr Str body Return NameLoad If UnaryOpNot CompareEq AttributeLoad NameLoad attr Num body Return NameLoad If AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr orelse Assign NameStore Call NameLoad NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad TupleLoad Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad NameLoad Str BinOpDiv AttributeLoad NameLoad attr Num Assign AttributeStore NameLoad attr Call NameLoad NameLoad Str Num Assign AttributeStore NameLoad attr Call NameLoad NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Assert Call NameLoad NameLoad Str Str If BoolOpOr UnaryOpNot CompareIn AttributeLoad NameLoad attr TupleLoad Str Str AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad Return NameLoad If BoolOpAnd AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr body Assign AttributeStore NameLoad attr NameLoad Return NameLoad Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareIs NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Return NameLoad Assign TupleStore NameStore NameStore NameLoad If BoolOpAnd NameLoad CompareGt BinOpSub Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad TupleLoad NameLoad NameLoad AttributeLoad NameLoad attr Return NameLoad Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list decorator_list
N/A N/A time N/A re N/A logging N/A log N/A N/A logging getLogger ella.core.middleware django template django.middleware.cache CacheMiddleware DjangoCacheMiddleware django.core.cache cache django.utils.cache get_cache_key add_never_cache_headers learn_cache_key django.conf settings ella.core.conf core_settings DoubleRenderMiddleware N/A object N/A _get_excluded_urls N/A N/A self N/A N/A N/A N/A hasattr self _excluded_urls N/A N/A N/A self _excluded_urls N/A N/A N/A core_settings DOUBLE_RENDER_EXCLUDE_URLS None N/A N/A N/A self _excluded_urls None N/A None N/A N/A self _excluded_urls N/A N/A url N/A core_settings DOUBLE_RENDER_EXCLUDE_URLS N/A N/A N/A self _excluded_urls N/A N/A N/A re compile url N/A N/A self _excluded_urls N/A process_response N/A N/A self request response N/A N/A N/A N/A N/A N/A response status_code 200 N/A N/A N/A N/A response N/A Content-Type startswith text N/A N/A core_settings DOUBLE_RENDER N/A N/A response N/A N/A N/A N/A self _get_excluded_urls None N/A N/A pattern N/A N/A self _get_excluded_urls N/A N/A N/A N/A pattern match N/A request path N/A N/A response N/A N/A N/A c N/A N/A template RequestContext request N/A SECOND_RENDER True N/A t N/A N/A template Template N/A response content N/A N/A response content N/A N/A t render c N/A N/A response N/A Content-Length N/A len N/A response content N/A N/A N/A Exception N/A e N/A N/A N/A N/A log warning Failed to double render on (%s) N/A N/A N/A unicode e encode utf8 N/A response N/A N/A CacheMiddleware N/A DjangoCacheMiddleware N/A process_request N/A N/A self request N/A N/A N/A resp N/A N/A N/A super CacheMiddleware self process_request request N/A N/A resp None N/A N/A N/A request _cache_middleware_key N/A get_cache_key request N/A self key_prefix N/A resp N/A process_response N/A N/A self request response N/A N/A N/A resp N/A N/A N/A super CacheMiddleware self process_response request response N/A N/A add_never_cache_headers resp N/A resp N/A N/A UpdateCacheMiddleware N/A object N/A N/A 
    Response-phase cache middleware that updates the cache if the response is
    cacheable.

    Must be used as part of the two-part update/fetch cache middleware.
    UpdateCacheMiddleware must be the first piece of middleware in
    MIDDLEWARE_CLASSES so that it'll get called last during the response phase.
     __init__ N/A N/A self N/A N/A N/A N/A self cache_timeout N/A settings CACHE_MIDDLEWARE_SECONDS N/A N/A self key_prefix N/A settings CACHE_MIDDLEWARE_KEY_PREFIX N/A N/A self cache_anonymous_only N/A getattr settings CACHE_MIDDLEWARE_ANONYMOUS_ONLY False N/A process_response N/A N/A self request response N/A N/A N/A Sets the cache, if needed. N/A N/A add_never_cache_headers response N/A N/A N/A N/A hasattr request _cache_update_cache N/A N/A request _cache_update_cache N/A N/A response N/A N/A N/A request method GET N/A N/A response N/A N/A N/A N/A response status_code 200 N/A N/A response N/A N/A request _cache_middleware_key N/A N/A cache_key N/A request _cache_middleware_key N/A N/A cache_key N/A learn_cache_key request response N/A self cache_timeout N/A self key_prefix N/A N/A N/A cache set cache_key N/A N/A N/A time time response N/A self cache_timeout N/A response N/A N/A FetchFromCacheMiddleware N/A object N/A N/A 
    Request-phase cache middleware that fetches a page from the cache.

    Must be used as part of the two-part update/fetch cache middleware.
    FetchFromCacheMiddleware must be the last piece of middleware in
    MIDDLEWARE_CLASSES so that it'll get called last during the request phase.
     __init__ N/A N/A self N/A N/A N/A N/A self cache_expire_timeout N/A settings CACHE_MIDDLEWARE_SECONDS N/A N/A self key_prefix N/A settings CACHE_MIDDLEWARE_KEY_PREFIX N/A N/A self cache_refresh_timeout N/A getattr settings CACHE_MIDDLEWARE_REFRESH_SECONDS N/A N/A self cache_expire_timeout 2 N/A N/A self timeout N/A getattr settings CACHE_MIDDLEWARE_REFRESH_TIMEOUT 10 N/A N/A self cache_anonymous_only N/A getattr settings CACHE_MIDDLEWARE_ANONYMOUS_ONLY False N/A process_request N/A N/A self request N/A N/A N/A 
        Checks whether the page is already cached and returns the cached
        version if available.
         N/A N/A self cache_anonymous_only N/A N/A N/A hasattr request user The Django cache middleware with CACHE_MIDDLEWARE_ANONYMOUS_ONLY=True requires authentication middleware to be installed. Edit your MIDDLEWARE_CLASSES setting to insert 'django.contrib.auth.middleware.AuthenticationMiddleware' before the CacheMiddleware. N/A N/A N/A N/A N/A request method N/A GET HEAD N/A request GET N/A N/A N/A request _cache_update_cache False N/A None N/A N/A N/A self cache_anonymous_only N/A N/A N/A request user is_authenticated N/A N/A N/A request _cache_update_cache False N/A None N/A cache_key N/A get_cache_key request N/A self key_prefix N/A N/A request _cache_middleware_key cache_key N/A N/A cache_key None N/A N/A N/A request _cache_update_cache True N/A None N/A response N/A N/A cache get cache_key None N/A N/A response None N/A N/A N/A request _cache_update_cache True N/A None N/A N/A orig_time response response N/A N/A orig_time N/A N/A N/A N/A time time orig_time N/A self cache_refresh_timeout N/A N/A N/A request _cache_update_cache True N/A N/A N/A cache set cache_key N/A None response N/A self timeout N/A None N/A N/A request _cache_update_cache False N/A response N/A N/A