Class-based generic views - flattened index¶
This index provides an alternate organization of the reference documentation for class-based views. For each view, the effective attributes and methods from the class tree are represented under that view. For the reference documentation organized by the class which defines the behavior, see Class-based views.
See also
Classy Class-Based Views provides a nice interface to navigate the class hierarchy of the built-in class-based views.
Simple generic views¶
View
¶
- class View¶
Attributes (with optional accessor):
Methods
TemplateView
¶
- class TemplateView¶
Attributes (with optional accessor):
Methods
RedirectView
¶
- class RedirectView¶
Attributes (with optional accessor):
Methods
delete()
get()
head()
options()
post()
put()
Detail Views¶
DetailView
¶
- class DetailView¶
Attributes (with optional accessor):
Methods
List Views¶
ListView
¶
- class ListView¶
Attributes (with optional accessor):
Methods
Editing views¶
FormView
¶
- class FormView¶
Attributes (with optional accessor):
Methods
CreateView
¶
- class CreateView¶
Attributes (with optional accessor):
Methods
UpdateView
¶
- class UpdateView¶
Attributes (with optional accessor):
Methods
DeleteView
¶
- class DeleteView¶
Attributes (with optional accessor):
Methods
delete()
get()
head()
post()
Date-based views¶
ArchiveIndexView
¶
- class ArchiveIndexView¶
Attributes (with optional accessor):
Methods
YearArchiveView
¶
- class YearArchiveView¶
Attributes (with optional accessor):
Methods
MonthArchiveView
¶
- class MonthArchiveView¶
Attributes (with optional accessor):
Methods
WeekArchiveView
¶
- class WeekArchiveView¶
Attributes (with optional accessor):
Methods
DayArchiveView
¶
- class DayArchiveView¶
Attributes (with optional accessor):
Methods
TodayArchiveView
¶
- class TodayArchiveView¶
Attributes (with optional accessor):
Methods
DateDetailView
¶
- class DateDetailView¶
Attributes (with optional accessor):
Methods