Module ImportFrom alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias Import alias ImportFrom alias alias ImportFrom alias alias alias FunctionDef arguments args NameParam defaults body Return Dict Str Str decorator_list Assign NameStore Str ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Str decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad NameLoad Assign AttributeStore NameLoad attr TupleLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults Str vararg kwarg body Return Call NameLoad Call NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore ListLoad Str Str Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr FunctionDef arguments args defaults body For NameStore NameLoad body Pass decorator_list Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Assign NameStore ListComp NameLoad comprehension NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Lambda arguments args defaults AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Dict Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Call NameLoad Dict Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Dict Str Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str decorator_list Assign NameStore Call NameLoad Str Dict Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Dict Str Str Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore TupleLoad Str Str Str For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad For NameStore NameLoad body With Call AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Dict Str Str Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults Str vararg kwarg body Return Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Call NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str Dict Str Str attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str Call NameLoad Dict Str Str attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Dict Str Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Dict Str Str Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore TupleLoad Str Str Str Str Str For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad For NameStore NameLoad body With Call AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Dict Str Str Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr BinOpAdd Call NameLoad AttributeLoad NameLoad attr ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore 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 Num Assign AttributeStore NameLoad attr BinOpAdd Call NameLoad AttributeLoad NameLoad attr ListLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list
N/A __future__ with_statement N/A os N/A pickle N/A time datetime datetime django.utils unittest django.test RequestFactory TestCase django.conf settings N/A django.template.context django.template Template Context django.template.response TemplateResponse SimpleTemplateResponse ContentNotRenderedError test_processor N/A N/A request N/A N/A N/A N/A processors yes N/A N/A test_processor_name regressiontests.templates.response.test_processor CustomURLConfMiddleware N/A object N/A process_request N/A N/A self request N/A N/A N/A N/A request urlconf regressiontests.templates.alternate_urls N/A N/A BaseTemplateResponseTest N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self factory N/A RequestFactory N/A N/A self _old_processors N/A settings TEMPLATE_CONTEXT_PROCESSORS N/A N/A self _old_TEMPLATE_DIRS N/A settings TEMPLATE_DIRS N/A N/A settings TEMPLATE_CONTEXT_PROCESSORS N/A test_processor_name N/A N/A settings TEMPLATE_DIRS N/A N/A N/A N/A os path join N/A N/A N/A os path dirname __file__ templates N/A N/A N/A N/A django template context _standard_context_processors None N/A tearDown N/A N/A self N/A N/A N/A N/A settings TEMPLATE_DIRS N/A self _old_TEMPLATE_DIRS N/A N/A settings TEMPLATE_CONTEXT_PROCESSORS N/A self _old_processors N/A N/A N/A N/A django template context _standard_context_processors None N/A N/A SimpleTemplateResponseTest N/A BaseTemplateResponseTest N/A _response N/A N/A self template N/A foo args kwargs N/A N/A N/A SimpleTemplateResponse N/A Template template args kwargs N/A test_template_resolving N/A N/A self N/A N/A N/A response N/A SimpleTemplateResponse first/test.html N/A N/A N/A response render N/A N/A N/A self assertEqual First template
 N/A response content N/A templates N/A foo.html second/test.html first/test.html N/A response N/A SimpleTemplateResponse templates N/A N/A N/A response render N/A N/A N/A self assertEqual Second template
 N/A response content N/A response N/A N/A self _response N/A N/A N/A response render N/A N/A N/A self assertEqual N/A response content foo N/A test_explicit_baking N/A N/A self N/A N/A N/A response N/A N/A self _response N/A N/A N/A self assertFalse N/A response is_rendered N/A N/A N/A response render N/A N/A N/A self assertTrue N/A response is_rendered N/A test_render N/A N/A self N/A N/A N/A response N/A N/A N/A N/A self _response render N/A N/A N/A self assertEqual N/A response content foo N/A N/A response template_name N/A Template bar{{ baz }} N/A N/A N/A response render N/A N/A N/A self assertEqual N/A response content foo N/A N/A response content bar N/A N/A N/A self assertEqual N/A response content bar N/A test_iteration_unrendered N/A N/A self N/A N/A N/A response N/A N/A self _response N/A N/A N/A self assertFalse N/A response is_rendered iteration N/A N/A N/A N/A N/A x response N/A N/A N/A N/A N/A N/A self assertRaises ContentNotRenderedError iteration N/A N/A N/A self assertFalse N/A response is_rendered N/A test_iteration_rendered N/A N/A self N/A N/A N/A response N/A N/A N/A N/A self _response render N/A res N/A x N/A x response N/A N/A N/A self assertEqual res N/A foo N/A test_content_access_unrendered N/A N/A self N/A N/A N/A response N/A N/A self _response N/A N/A N/A self assertFalse N/A response is_rendered N/A N/A N/A self assertRaises ContentNotRenderedError N/A N/A N/A N/A N/A response content N/A N/A N/A self assertFalse N/A response is_rendered N/A test_content_access_rendered N/A N/A self N/A N/A N/A response N/A N/A N/A N/A self _response render N/A N/A N/A self assertEqual N/A response content foo N/A test_set_content N/A N/A self N/A N/A N/A response N/A N/A self _response N/A N/A N/A self assertFalse N/A response is_rendered N/A N/A response content spam N/A N/A N/A self assertTrue N/A response is_rendered N/A N/A N/A self assertEqual N/A response content spam N/A N/A response content baz N/A N/A N/A self assertEqual N/A response content baz N/A test_dict_context N/A N/A self N/A N/A N/A response N/A N/A self _response {{ foo }}{{ processors }} N/A foo bar N/A N/A N/A self assertEqual N/A response context_data N/A foo bar N/A N/A N/A response render N/A N/A N/A self assertEqual N/A response content bar N/A test_context_instance N/A N/A self N/A N/A N/A response N/A N/A self _response {{ foo }}{{ processors }} N/A Context N/A foo bar N/A N/A N/A self assertEqual N/A N/A response context_data __class__ Context N/A N/A N/A response render N/A N/A N/A self assertEqual N/A response content bar N/A test_kwargs N/A N/A self N/A N/A N/A response N/A N/A self _response content_type application/json status 504 N/A N/A N/A self assertEqual N/A response N/A content-type application/json N/A N/A N/A self assertEqual N/A response status_code 504 N/A test_args N/A N/A self N/A N/A N/A response N/A SimpleTemplateResponse N/A application/json 504 N/A N/A N/A self assertEqual N/A response N/A content-type application/json N/A N/A N/A self assertEqual N/A response status_code 504 N/A test_post_callbacks N/A N/A self N/A N/A N/A Rendering a template response triggers the post-render callbacks N/A post N/A post1 N/A N/A obj N/A N/A N/A N/A N/A post append post1 N/A post2 N/A N/A obj N/A N/A N/A N/A N/A post append post2 N/A N/A response N/A SimpleTemplateResponse first/test.html N/A N/A N/A N/A response add_post_render_callback post1 N/A N/A N/A response add_post_render_callback post2 N/A N/A N/A response render N/A N/A N/A self assertEqual First template
 N/A response content N/A N/A N/A self assertEqual post N/A post1 post2 N/A test_pickling N/A N/A self N/A N/A N/A response N/A SimpleTemplateResponse first/test.html N/A value fn 123 N/A datetime now N/A N/A N/A self assertRaises ContentNotRenderedError N/A pickle dumps response N/A N/A N/A response render N/A pickled_response N/A N/A pickle dumps response N/A unpickled_response N/A N/A pickle loads pickled_response N/A N/A N/A self assertEqual N/A unpickled_response content N/A response content N/A N/A N/A self assertEqual N/A unpickled_response N/A content-type N/A response N/A content-type N/A N/A N/A self assertEqual N/A unpickled_response status_code N/A response status_code N/A template_attrs N/A template_name context_data _post_render_callbacks N/A attr template_attrs N/A N/A N/A N/A self assertFalse N/A hasattr unpickled_response attr N/A attr template_attrs N/A N/A N/A N/A self assertRaises AttributeError N/A N/A N/A getattr unpickled_response attr N/A test_repickling N/A N/A self N/A N/A N/A response N/A SimpleTemplateResponse first/test.html N/A value fn 123 N/A datetime now N/A N/A N/A self assertRaises ContentNotRenderedError N/A pickle dumps response N/A N/A N/A response render N/A pickled_response N/A N/A pickle dumps response N/A unpickled_response N/A N/A pickle loads pickled_response N/A repickled_response N/A N/A pickle dumps unpickled_response N/A N/A TemplateResponseTest N/A BaseTemplateResponseTest N/A _response N/A N/A self template N/A foo args kwargs N/A N/A N/A TemplateResponse N/A N/A N/A self factory get / N/A Template template args kwargs N/A test_render N/A N/A self N/A N/A N/A response N/A N/A N/A N/A self _response {{ foo }}{{ processors }} render N/A N/A N/A self assertEqual N/A response content yes N/A test_render_with_requestcontext N/A N/A self N/A N/A N/A response N/A N/A N/A N/A self _response {{ foo }}{{ processors }} N/A foo bar render N/A N/A N/A self assertEqual N/A response content baryes N/A test_render_with_context N/A N/A self N/A N/A N/A response N/A N/A N/A N/A self _response {{ foo }}{{ processors }} N/A Context N/A foo bar render N/A N/A N/A self assertEqual N/A response content bar N/A test_kwargs N/A N/A self N/A N/A N/A response N/A N/A self _response content_type application/json status 504 N/A N/A N/A self assertEqual N/A response N/A content-type application/json N/A N/A N/A self assertEqual N/A response status_code 504 N/A test_args N/A N/A self N/A N/A N/A response N/A TemplateResponse N/A N/A N/A self factory get / N/A application/json 504 N/A N/A N/A self assertEqual N/A response N/A content-type application/json N/A N/A N/A self assertEqual N/A response status_code 504 N/A test_custom_app N/A N/A self N/A N/A N/A response N/A N/A self _response {{ foo }} current_app foobar N/A rc N/A N/A response resolve_context N/A response context_data N/A N/A N/A self assertEqual N/A rc current_app foobar N/A test_pickling N/A N/A self N/A N/A N/A response N/A TemplateResponse N/A N/A N/A self factory get / first/test.html N/A value fn 123 N/A datetime now N/A N/A N/A self assertRaises ContentNotRenderedError N/A pickle dumps response N/A N/A N/A response render N/A pickled_response N/A N/A pickle dumps response N/A unpickled_response N/A N/A pickle loads pickled_response N/A N/A N/A self assertEqual N/A unpickled_response content N/A response content N/A N/A N/A self assertEqual N/A unpickled_response N/A content-type N/A response N/A content-type N/A N/A N/A self assertEqual N/A unpickled_response status_code N/A response status_code N/A template_attrs N/A template_name context_data _post_render_callbacks _request _current_app N/A attr template_attrs N/A N/A N/A N/A self assertFalse N/A hasattr unpickled_response attr N/A attr template_attrs N/A N/A N/A N/A self assertRaises AttributeError N/A N/A N/A getattr unpickled_response attr N/A test_repickling N/A N/A self N/A N/A N/A response N/A SimpleTemplateResponse first/test.html N/A value fn 123 N/A datetime now N/A N/A N/A self assertRaises ContentNotRenderedError N/A pickle dumps response N/A N/A N/A response render N/A pickled_response N/A N/A pickle dumps response N/A unpickled_response N/A N/A pickle loads pickled_response N/A repickled_response N/A N/A pickle dumps unpickled_response N/A N/A CustomURLConfTest N/A TestCase N/A N/A urls regressiontests.templates.urls setUp N/A N/A self N/A N/A N/A N/A self old_MIDDLEWARE_CLASSES N/A settings MIDDLEWARE_CLASSES N/A N/A settings MIDDLEWARE_CLASSES N/A N/A list N/A settings MIDDLEWARE_CLASSES N/A regressiontests.templates.response.CustomURLConfMiddleware N/A tearDown N/A N/A self N/A N/A N/A N/A settings MIDDLEWARE_CLASSES N/A self old_MIDDLEWARE_CLASSES N/A test_custom_urlconf N/A N/A self N/A N/A N/A response N/A N/A N/A self client get /template_response_view/ N/A N/A N/A self assertEqual N/A response status_code 200 N/A N/A N/A self assertContains response This is where you can find the snark: /snark/ N/A N/A CacheMiddlewareTest N/A TestCase N/A N/A urls regressiontests.templates.alternate_urls setUp N/A N/A self N/A N/A N/A N/A self old_MIDDLEWARE_CLASSES N/A settings MIDDLEWARE_CLASSES N/A N/A self CACHE_MIDDLEWARE_SECONDS N/A settings CACHE_MIDDLEWARE_SECONDS N/A N/A settings CACHE_MIDDLEWARE_SECONDS 2.0 N/A N/A settings MIDDLEWARE_CLASSES N/A N/A list N/A settings MIDDLEWARE_CLASSES N/A django.middleware.cache.FetchFromCacheMiddleware django.middleware.cache.UpdateCacheMiddleware N/A tearDown N/A N/A self N/A N/A N/A N/A settings MIDDLEWARE_CLASSES N/A self old_MIDDLEWARE_CLASSES N/A N/A settings CACHE_MIDDLEWARE_SECONDS N/A self CACHE_MIDDLEWARE_SECONDS N/A test_middleware_caching N/A N/A self N/A N/A N/A response N/A N/A N/A self client get /template_response_view/ N/A N/A N/A self assertEqual N/A response status_code 200 N/A N/A N/A time sleep 1.0 N/A response2 N/A N/A N/A self client get /template_response_view/ N/A N/A N/A self assertEqual N/A response2 status_code 200 N/A N/A N/A self assertEqual N/A response content N/A response2 content N/A N/A N/A time sleep 2.0 N/A response2 N/A N/A N/A self client get /template_response_view/ N/A N/A N/A self assertEqual N/A response2 status_code 200 N/A N/A N/A self assertNotEqual N/A response content N/A response2 content N/A N/A