Module ImportFrom alias alias alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias identifier ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad Str decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad Str decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Dict decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Dict decorator_list FunctionDef arguments args NameParam defaults body Return ListLoad Str decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Str FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr keyword Dict decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Return NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Call NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Expr Call AttributeLoad Call NameLoad keyword Str attr Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad body Pass decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad body Pass decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad Call Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Str attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Call Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad Call Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad Call Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Str attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Call Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Call Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Call Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad Call Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Str attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str For NameStore AttributeLoad NameLoad attr body Assign NameStore Call NameLoad TupleLoad TupleLoad NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr keyword Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Call NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Call Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Call Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Call Call AttributeLoad NameLoad attr keyword Str Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Dict Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Dict Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str 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 ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Call NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call Call AttributeLoad NameLoad attr keyword Str Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call Call AttributeLoad NameLoad attr keyword Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call Call AttributeLoad NameLoad attr keyword Str Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Assign NameStore Call Call AttributeLoad NameLoad attr keyword Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call Call AttributeLoad NameLoad attr keyword Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call Call AttributeLoad NameLoad attr keyword Str Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call Call AttributeLoad NameLoad attr keyword Str Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call Call AttributeLoad NameLoad attr keyword Str Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call Call AttributeLoad NameLoad attr keyword Str Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call Call AttributeLoad NameLoad attr keyword Str Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call Call AttributeLoad NameLoad attr keyword Str Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call Call AttributeLoad NameLoad attr keyword Str Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list decorator_list
N/A __future__ absolute_import division print_function N/A time N/A unittest django.core.exceptions ImproperlyConfigured django.http HttpResponse django.test RequestFactory django.views.generic View TemplateView RedirectView tests MongoTestCase TestCase SimpleView N/A View N/A N/A 
    A simple view with a docstring.
     get N/A N/A self request N/A N/A N/A N/A HttpResponse This is a simple view N/A N/A SimplePostView N/A SimpleView N/A N/A post N/A SimpleView get N/A PostOnlyView N/A View N/A post N/A N/A self request N/A N/A N/A N/A HttpResponse This view only accepts POST N/A N/A CustomizableView N/A SimpleView N/A N/A parameter N/A N/A decorator N/A N/A view N/A N/A N/A N/A view is_decorated True N/A view N/A DecoratedDispatchView N/A SimpleView N/A dispatch N/A N/A self request N/A args kwargs N/A N/A N/A N/A N/A super DecoratedDispatchView self dispatch request args kwargs N/A decorator N/A AboutTemplateView N/A TemplateView N/A get N/A N/A self request N/A N/A N/A N/A N/A self render_to_response N/A N/A get_template_names N/A N/A self N/A N/A N/A N/A views/about.html N/A N/A AboutTemplateAttributeView N/A TemplateView N/A N/A template_name views/about.html get N/A N/A self request N/A N/A N/A N/A N/A self render_to_response context N/A N/A N/A InstanceView N/A View N/A get N/A N/A self request N/A N/A N/A self N/A N/A ViewTest N/A N/A unittest TestCase N/A N/A rf N/A RequestFactory _assert_simple N/A N/A self response N/A N/A N/A N/A N/A self assertEqual N/A response status_code 200 N/A N/A N/A self assertEqual N/A response content This is a simple view N/A test_no_init_kwargs N/A N/A self N/A N/A N/A 
        Test that a view can't be accidentally instantiated before deployment
         N/A N/A N/A N/A N/A N/A SimpleView key value as_view N/A N/A N/A self fail Should not be able to instantiate a view N/A N/A N/A AttributeError N/A N/A N/A test_no_init_args N/A N/A self N/A N/A N/A 
        Test that a view can't be accidentally instantiated before deployment
         N/A N/A N/A N/A N/A SimpleView as_view value N/A N/A N/A self fail Should not be able to use non-keyword arguments instantiating a view N/A N/A N/A TypeError N/A N/A N/A test_pathological_http_method N/A N/A self N/A N/A N/A 
        The edge case of a http request that spoofs an existing method name is caught.
         N/A N/A N/A self assertEqual N/A N/A N/A N/A SimpleView as_view N/A N/A N/A self rf get / REQUEST_METHOD DISPATCH status_code 405 N/A test_get_only N/A N/A self N/A N/A N/A 
        Test a view which only allows GET doesn't allow other methods.
         N/A N/A N/A self _assert_simple N/A N/A N/A SimpleView as_view N/A N/A N/A self rf get / N/A N/A N/A self assertEqual N/A N/A N/A N/A SimpleView as_view N/A N/A N/A self rf post / status_code 405 N/A N/A N/A self assertEqual N/A N/A N/A N/A SimpleView as_view N/A N/A N/A self rf get / REQUEST_METHOD FAKE status_code 405 N/A test_get_and_head N/A N/A self N/A N/A N/A 
        Test a view which supplies a GET method also responds correctly to HEAD.
         N/A N/A N/A self _assert_simple N/A N/A N/A SimpleView as_view N/A N/A N/A self rf get / N/A response N/A N/A N/A SimpleView as_view N/A N/A N/A self rf head / N/A N/A N/A self assertEqual N/A response status_code 200 N/A test_head_no_get N/A N/A self N/A N/A N/A 
        Test a view which supplies no GET method responds to HEAD with HTTP 405.
         N/A response N/A N/A N/A PostOnlyView as_view N/A N/A N/A self rf head / N/A N/A N/A self assertEqual N/A response status_code 405 N/A test_get_and_post N/A N/A self N/A N/A N/A 
        Test a view which only allows both GET and POST.
         N/A N/A N/A self _assert_simple N/A N/A N/A SimplePostView as_view N/A N/A N/A self rf get / N/A N/A N/A self _assert_simple N/A N/A N/A SimplePostView as_view N/A N/A N/A self rf post / N/A N/A N/A self assertEqual N/A N/A N/A N/A SimplePostView as_view N/A N/A N/A self rf get / REQUEST_METHOD FAKE status_code 405 N/A test_invalid_keyword_argument N/A N/A self N/A N/A N/A 
        Test that view arguments must be predefined on the class and can't
        be named like a HTTP method.
         N/A method N/A SimpleView http_method_names N/A N/A kwargs N/A dict N/A N/A method value N/A N/A N/A self assertRaises TypeError N/A SimpleView as_view kwargs N/A N/A N/A CustomizableView as_view parameter value N/A N/A N/A self assertRaises TypeError N/A CustomizableView as_view foobar value N/A test_calling_more_than_once N/A N/A self N/A N/A N/A 
        Test a view can only be called once.
         N/A request N/A N/A N/A self rf get / N/A view N/A N/A InstanceView as_view N/A N/A N/A self assertNotEqual N/A view request N/A view request N/A test_class_attributes N/A N/A self N/A N/A N/A 
        Test that the callable returned from as_view() has proper
        docstring, name and module.
         N/A N/A N/A self assertEqual N/A SimpleView __doc__ N/A N/A N/A SimpleView as_view __doc__ N/A N/A N/A self assertEqual N/A SimpleView __name__ N/A N/A N/A SimpleView as_view __name__ N/A N/A N/A self assertEqual N/A SimpleView __module__ N/A N/A N/A SimpleView as_view __module__ N/A test_dispatch_decoration N/A N/A self N/A N/A N/A 
        Test that attributes set by decorators on the dispatch method
        are also present on the closure.
         N/A N/A N/A self assertTrue N/A N/A N/A DecoratedDispatchView as_view is_decorated N/A N/A TemplateViewTest N/A TestCase N/A N/A rf N/A RequestFactory _assert_about N/A N/A self response N/A N/A N/A N/A N/A response render N/A N/A N/A self assertEqual N/A response status_code 200 N/A N/A N/A self assertContains response <h1>About</h1> N/A test_get N/A N/A self N/A N/A N/A 
        Test a view that simply renders a template on GET
         N/A N/A N/A self _assert_about N/A N/A N/A AboutTemplateView as_view N/A N/A N/A self rf get /about/ N/A test_head N/A N/A self N/A N/A N/A 
        Test a TemplateView responds correctly to HEAD
         N/A response N/A N/A N/A AboutTemplateView as_view N/A N/A N/A self rf head /about/ N/A N/A N/A self assertEqual N/A response status_code 200 N/A test_get_template_attribute N/A N/A self N/A N/A N/A 
        Test a view that renders a template on GET with the template name as
        an attribute on the class.
         N/A N/A N/A self _assert_about N/A N/A N/A AboutTemplateAttributeView as_view N/A N/A N/A self rf get /about/ N/A test_get_generic_template N/A N/A self N/A N/A N/A 
        Test a completely generic view that renders a template on GET
        with the template name as an argument at instantiation.
         N/A N/A N/A self _assert_about N/A N/A N/A TemplateView as_view template_name views/about.html N/A N/A N/A self rf get /about/ N/A test_template_name_required N/A N/A self N/A N/A N/A 
        A template view must provide a template name
         N/A N/A N/A self assertRaises ImproperlyConfigured N/A N/A self client get /template/no_template/ N/A test_template_params N/A N/A self N/A N/A N/A 
        A generic template view passes kwargs as context.
         N/A response N/A N/A N/A self client get /template/simple/bar/ N/A N/A N/A self assertEqual N/A response status_code 200 N/A N/A N/A self assertEqual N/A N/A response context N/A params N/A foo bar N/A test_extra_template_params N/A N/A self N/A N/A N/A 
        A template view can be customized to return extra context.
         N/A response N/A N/A N/A self client get /template/custom/bar/ N/A N/A N/A self assertEqual N/A response status_code 200 N/A N/A N/A self assertEqual N/A N/A response context N/A params N/A foo bar N/A N/A N/A self assertEqual N/A N/A response context N/A key value N/A test_cached_views N/A N/A self N/A N/A N/A 
        A template view can be cached
         N/A response N/A N/A N/A self client get /template/cached/bar/ 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/cached/bar/ 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/cached/bar/ 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 RedirectViewTest N/A N/A unittest TestCase N/A N/A rf N/A RequestFactory test_no_url N/A N/A self N/A N/A N/A Without any configuration, returns HTTP 410 GONE N/A response N/A N/A N/A RedirectView as_view N/A N/A N/A self rf get /foo/ N/A N/A N/A self assertEqual N/A response status_code 410 N/A test_permanent_redirect N/A N/A self N/A N/A N/A Default is a permanent redirect N/A response N/A N/A N/A RedirectView as_view url /bar/ N/A N/A N/A self rf get /foo/ N/A N/A N/A self assertEqual N/A response status_code 301 N/A N/A N/A self assertEqual N/A response N/A Location /bar/ N/A test_temporary_redirect N/A N/A self N/A N/A N/A Permanent redirects are an option N/A response N/A N/A N/A RedirectView as_view url /bar/ permanent False N/A N/A N/A self rf get /foo/ N/A N/A N/A self assertEqual N/A response status_code 302 N/A N/A N/A self assertEqual N/A response N/A Location /bar/ N/A test_include_args N/A N/A self N/A N/A N/A GET arguments can be included in the redirected URL N/A response N/A N/A N/A RedirectView as_view url /bar/ N/A N/A N/A self rf get /foo/ N/A N/A N/A self assertEqual N/A response status_code 301 N/A N/A N/A self assertEqual N/A response N/A Location /bar/ N/A response N/A N/A N/A RedirectView as_view url /bar/ query_string True N/A N/A N/A self rf get /foo/?pork=spam N/A N/A N/A self assertEqual N/A response status_code 301 N/A N/A N/A self assertEqual N/A response N/A Location /bar/?pork=spam N/A test_include_urlencoded_args N/A N/A self N/A N/A N/A GET arguments can be URL-encoded when included in the redirected URL N/A response N/A N/A N/A RedirectView as_view url /bar/ query_string True N/A N/A N/A self rf get /foo/?unicode=%E2%9C%93 N/A N/A N/A self assertEqual N/A response status_code 301 N/A N/A N/A self assertEqual N/A response N/A Location /bar/?unicode=%E2%9C%93 N/A test_parameter_substitution N/A N/A self N/A N/A N/A Redirection URLs can be parameterized N/A response N/A N/A N/A RedirectView as_view url /bar/%(object_id)d/ N/A N/A N/A self rf get /foo/42/ object_id 42 N/A N/A N/A self assertEqual N/A response status_code 301 N/A N/A N/A self assertEqual N/A response N/A Location /bar/42/ N/A test_redirect_POST N/A N/A self N/A N/A N/A Default is a permanent redirect N/A response N/A N/A N/A RedirectView as_view url /bar/ N/A N/A N/A self rf post /foo/ N/A N/A N/A self assertEqual N/A response status_code 301 N/A N/A N/A self assertEqual N/A response N/A Location /bar/ N/A test_redirect_HEAD N/A N/A self N/A N/A N/A Default is a permanent redirect N/A response N/A N/A N/A RedirectView as_view url /bar/ N/A N/A N/A self rf head /foo/ N/A N/A N/A self assertEqual N/A response status_code 301 N/A N/A N/A self assertEqual N/A response N/A Location /bar/ N/A test_redirect_OPTIONS N/A N/A self N/A N/A N/A Default is a permanent redirect N/A response N/A N/A N/A RedirectView as_view url /bar/ N/A N/A N/A self rf options /foo/ N/A N/A N/A self assertEqual N/A response status_code 301 N/A N/A N/A self assertEqual N/A response N/A Location /bar/ N/A test_redirect_PUT N/A N/A self N/A N/A N/A Default is a permanent redirect N/A response N/A N/A N/A RedirectView as_view url /bar/ N/A N/A N/A self rf put /foo/ N/A N/A N/A self assertEqual N/A response status_code 301 N/A N/A N/A self assertEqual N/A response N/A Location /bar/ N/A test_redirect_DELETE N/A N/A self N/A N/A N/A Default is a permanent redirect N/A response N/A N/A N/A RedirectView as_view url /bar/ N/A N/A N/A self rf delete /foo/ N/A N/A N/A self assertEqual N/A response status_code 301 N/A N/A N/A self assertEqual N/A response N/A Location /bar/ N/A test_redirect_when_meta_contains_no_query_string N/A N/A self N/A N/A N/A regression for #16705 N/A response N/A N/A N/A RedirectView as_view url /bar/ N/A N/A N/A self rf request PATH_INFO /foo/ N/A N/A N/A self assertEqual N/A response status_code 301 N/A N/A