class django.views.generic.base.TemplateView Renders a given template, with the context containing parameters captured in the
http_method_names The list of HTTP method names that this view will accept. Default:
http_method_not_allowed(request, *args, **kwargs) If the view was called with a HTTP method it doesn’t support, this method
dispatch(request, *args, **kwargs) The view part of the view – the method that accepts a request argument
pattern_name The name of the URL pattern to redirect to. Reversing will be done using the same args and kwargs as are passed
query_string Whether to pass along the GET query string to the new location. If True, then the query string is
class django.views.generic.base.RedirectView Redirects to a given URL. The given URL may contain
url The URL to redirect to, as a string. Or None to raise a 410 (Gone) HTTP error.
permanent Whether the redirect should be permanent. The only difference here is the HTTP status code returned. If True
class django.views.generic.base.View The master class-based base view. All other class-based views inherit from this base class
Page 1 of 2