class documentation

class RedirectView(View):

View In Hierarchy

Provide a redirect on any GET request.
Method delete Undocumented
Method get Undocumented
Method get​_redirect​_url Return the URL redirect to. Keyword arguments from the URL pattern match generating the redirect request are provided as kwargs to this method.
Method head Undocumented
Method options Handle responding to requests for the OPTIONS HTTP verb.
Method patch Undocumented
Method post Undocumented
Method put Undocumented
Class Variable pattern​_name Undocumented
Class Variable permanent Undocumented
Class Variable query​_string Undocumented
Class Variable url Undocumented

Inherited from View:

Method __init__ Constructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.
Method ​_allowed​_methods Undocumented
Method as​_view Main entry point for a request-response process.
Method dispatch Undocumented
Method http​_method​_not​_allowed Undocumented
Method setup Initialize attributes shared by all view methods.
Class Variable http​_method​_names Undocumented
Instance Variable args Undocumented
Instance Variable kwargs Undocumented
Instance Variable request Undocumented
def delete(self, request, *args, **kwargs):

Undocumented

def get(self, request, *args, **kwargs):

Undocumented

def get_redirect_url(self, *args, **kwargs):
Return the URL redirect to. Keyword arguments from the URL pattern match generating the redirect request are provided as kwargs to this method.
def head(self, request, *args, **kwargs):

Undocumented

def options(self, request, *args, **kwargs):
Handle responding to requests for the OPTIONS HTTP verb.
def patch(self, request, *args, **kwargs):

Undocumented

def post(self, request, *args, **kwargs):

Undocumented

def put(self, request, *args, **kwargs):

Undocumented

pattern_name =

Undocumented

permanent: bool =

Undocumented

query_string: bool =

Undocumented

url =

Undocumented