Class RedirectView
Provide a redirect on any GET request.
Declaration
source linkDocumentation
Methods
▷ def delete(self, request, *args, **kwargs) ▷ def get(self, request, *args, **kwargs) ▷ 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) ▶ def options(self, request, *args, **kwargs) overrideinherited doc Handle responding to requests for the OPTIONS HTTP verb.
▷ def patch(self, request, *args, **kwargs) ▷ def post(self, request, *args, **kwargs) ▷ def put(self, request, *args, **kwargs)