此索引为基于类的视图提供了参考文档的备用组织。对于每个视图,类树中的有效属性和方法都表示在该视图下。有关由定义行为的类组织的参考文档,请参见 Class-based views .
参见
Classy Class-Based Views 提供了一个很好的接口来导航内置基于类的视图的类层次结构。
View
¶属性 (带可选访问器):
Methods
TemplateView
¶属性 (带可选访问器):
Methods
RedirectView
¶属性 (带可选访问器):
Methods
delete()
get()
head()
options()
post()
put()
DetailView
¶属性 (带可选访问器):
Methods
ListView
¶属性 (带可选访问器):
Methods
FormView
¶属性 (带可选访问器):
Methods
CreateView
¶属性 (带可选访问器):
Methods
UpdateView
¶属性 (带可选访问器):
Methods
DeleteView
¶属性 (带可选访问器):
Methods
delete()
get()
head()
post()
ArchiveIndexView
¶属性 (带可选访问器):
Methods
YearArchiveView
¶属性 (带可选访问器):
Methods
MonthArchiveView
¶属性 (带可选访问器):
Methods
WeekArchiveView
¶属性 (带可选访问器):
Methods
DayArchiveView
¶属性 (带可选访问器):
Methods
TodayArchiveView
¶属性 (带可选访问器):
Methods
DateDetailView
¶属性 (带可选访问器):
Methods
12月 18, 2023