class documentation
class View: (source)
Known subclasses: django.views.generic.RedirectView
, django.views.generic.TemplateView
, django.views.i18n.JavaScriptCatalog
Intentionally simple parent class for all views. Only implements dispatch-by-method and simple sanity checking.
Method | __init__ |
Constructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things. |
Method | as |
Main entry point for a request-response process. |
Method | dispatch |
Undocumented |
Method | http |
Undocumented |
Method | options |
Handle responding to requests for the OPTIONS HTTP verb. |
Method | setup |
Initialize attributes shared by all view methods. |
Class Variable | http |
Undocumented |
Instance Variable | args |
Undocumented |
Instance Variable | head |
Undocumented |
Instance Variable | kwargs |
Undocumented |
Instance Variable | request |
Undocumented |
Property | view |
Undocumented |
Method | _allowed |
Undocumented |
overridden in
django.views.generic.RedirectView
Handle responding to requests for the OPTIONS HTTP verb.