flattened-index.txt 40 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657
  1. ===========================================
  2. Class-based generic views - flattened index
  3. ===========================================
  4. This index provides an alternate organization of the reference documentation
  5. for class-based views. For each view, the effective attributes and methods from
  6. the class tree are represented under that view. For the reference
  7. documentation organized by the class which defines the behavior, see
  8. :doc:`Class-based views</ref/class-based-views/index>`.
  9. .. seealso::
  10. `Classy Class-Based Views <https://ccbv.co.uk/>`_ provides a nice interface
  11. to navigate the class hierarchy of the built-in class-based views.
  12. Simple generic views
  13. ====================
  14. ``View``
  15. --------
  16. .. class:: View()
  17. **Attributes** (with optional accessor):
  18. * :attr:`~django.views.generic.base.View.http_method_names`
  19. **Methods**
  20. * :meth:`~django.views.generic.base.View.as_view`
  21. * :meth:`~django.views.generic.base.View.dispatch`
  22. * ``head()``
  23. * :meth:`~django.views.generic.base.View.http_method_not_allowed`
  24. * :meth:`~django.views.generic.base.View.setup`
  25. ``TemplateView``
  26. ----------------
  27. .. class:: TemplateView()
  28. **Attributes** (with optional accessor):
  29. * :attr:`~django.views.generic.base.TemplateResponseMixin.content_type`
  30. * :attr:`~django.views.generic.base.ContextMixin.extra_context`
  31. * :attr:`~django.views.generic.base.View.http_method_names`
  32. * :attr:`~django.views.generic.base.TemplateResponseMixin.response_class` [:meth:`~django.views.generic.base.TemplateResponseMixin.render_to_response`]
  33. * :attr:`~django.views.generic.base.TemplateResponseMixin.template_engine`
  34. * :attr:`~django.views.generic.base.TemplateResponseMixin.template_name` [:meth:`~django.views.generic.base.TemplateResponseMixin.get_template_names`]
  35. **Methods**
  36. * :meth:`~django.views.generic.base.View.as_view`
  37. * :meth:`~django.views.generic.base.View.dispatch`
  38. * ``get()``
  39. * :meth:`~django.views.generic.base.ContextMixin.get_context_data`
  40. * ``head()``
  41. * :meth:`~django.views.generic.base.View.http_method_not_allowed`
  42. * :meth:`~django.views.generic.base.TemplateResponseMixin.render_to_response`
  43. * :meth:`~django.views.generic.base.View.setup`
  44. ``RedirectView``
  45. ----------------
  46. .. class:: RedirectView()
  47. **Attributes** (with optional accessor):
  48. * :attr:`~django.views.generic.base.View.http_method_names`
  49. * :attr:`~django.views.generic.base.RedirectView.pattern_name`
  50. * :attr:`~django.views.generic.base.RedirectView.permanent`
  51. * :attr:`~django.views.generic.base.RedirectView.query_string`
  52. * :attr:`~django.views.generic.base.RedirectView.url` [:meth:`~django.views.generic.base.RedirectView.get_redirect_url`]
  53. **Methods**
  54. * :meth:`~django.views.generic.base.View.as_view`
  55. * ``delete()``
  56. * :meth:`~django.views.generic.base.View.dispatch`
  57. * ``get()``
  58. * ``head()``
  59. * :meth:`~django.views.generic.base.View.http_method_not_allowed`
  60. * ``options()``
  61. * ``post()``
  62. * ``put()``
  63. * :meth:`~django.views.generic.base.View.setup`
  64. Detail Views
  65. ============
  66. ``DetailView``
  67. --------------
  68. .. class:: DetailView()
  69. **Attributes** (with optional accessor):
  70. * :attr:`~django.views.generic.base.TemplateResponseMixin.content_type`
  71. * :attr:`~django.views.generic.detail.SingleObjectMixin.context_object_name` [:meth:`~django.views.generic.detail.SingleObjectMixin.get_context_object_name`]
  72. * :attr:`~django.views.generic.base.ContextMixin.extra_context`
  73. * :attr:`~django.views.generic.base.View.http_method_names`
  74. * :attr:`~django.views.generic.detail.SingleObjectMixin.model`
  75. * :attr:`~django.views.generic.detail.SingleObjectMixin.pk_url_kwarg`
  76. * :attr:`~django.views.generic.detail.SingleObjectMixin.query_pk_and_slug`
  77. * :attr:`~django.views.generic.detail.SingleObjectMixin.queryset` [:meth:`~django.views.generic.detail.SingleObjectMixin.get_queryset`]
  78. * :attr:`~django.views.generic.base.TemplateResponseMixin.response_class` [:meth:`~django.views.generic.base.TemplateResponseMixin.render_to_response`]
  79. * :attr:`~django.views.generic.detail.SingleObjectMixin.slug_field` [:meth:`~django.views.generic.detail.SingleObjectMixin.get_slug_field`]
  80. * :attr:`~django.views.generic.detail.SingleObjectMixin.slug_url_kwarg`
  81. * :attr:`~django.views.generic.base.TemplateResponseMixin.template_engine`
  82. * :attr:`~django.views.generic.base.TemplateResponseMixin.template_name` [:meth:`~django.views.generic.base.TemplateResponseMixin.get_template_names`]
  83. * :attr:`~django.views.generic.detail.SingleObjectTemplateResponseMixin.template_name_field`
  84. * :attr:`~django.views.generic.detail.SingleObjectTemplateResponseMixin.template_name_suffix`
  85. **Methods**
  86. * :meth:`~django.views.generic.base.View.as_view`
  87. * :meth:`~django.views.generic.base.View.dispatch`
  88. * :meth:`~django.views.generic.detail.BaseDetailView.get`
  89. * :meth:`~django.views.generic.detail.SingleObjectMixin.get_context_data`
  90. * :meth:`~django.views.generic.detail.SingleObjectMixin.get_object`
  91. * ``head()``
  92. * :meth:`~django.views.generic.base.View.http_method_not_allowed`
  93. * :meth:`~django.views.generic.base.TemplateResponseMixin.render_to_response`
  94. * :meth:`~django.views.generic.base.View.setup`
  95. List Views
  96. ==========
  97. ``ListView``
  98. ------------
  99. .. class:: ListView()
  100. **Attributes** (with optional accessor):
  101. * :attr:`~django.views.generic.list.MultipleObjectMixin.allow_empty` [:meth:`~django.views.generic.list.MultipleObjectMixin.get_allow_empty`]
  102. * :attr:`~django.views.generic.base.TemplateResponseMixin.content_type`
  103. * :attr:`~django.views.generic.list.MultipleObjectMixin.context_object_name` [:meth:`~django.views.generic.list.MultipleObjectMixin.get_context_object_name`]
  104. * :attr:`~django.views.generic.base.ContextMixin.extra_context`
  105. * :attr:`~django.views.generic.base.View.http_method_names`
  106. * :attr:`~django.views.generic.list.MultipleObjectMixin.model`
  107. * :attr:`~django.views.generic.list.MultipleObjectMixin.ordering` [:meth:`~django.views.generic.list.MultipleObjectMixin.get_ordering`]
  108. * :attr:`~django.views.generic.list.MultipleObjectMixin.paginate_by` [:meth:`~django.views.generic.list.MultipleObjectMixin.get_paginate_by`]
  109. * :attr:`~django.views.generic.list.MultipleObjectMixin.paginate_orphans` [:meth:`~django.views.generic.list.MultipleObjectMixin.get_paginate_orphans`]
  110. * :attr:`~django.views.generic.list.MultipleObjectMixin.paginator_class`
  111. * :attr:`~django.views.generic.list.MultipleObjectMixin.queryset` [:meth:`~django.views.generic.list.MultipleObjectMixin.get_queryset`]
  112. * :attr:`~django.views.generic.base.TemplateResponseMixin.response_class` [:meth:`~django.views.generic.base.TemplateResponseMixin.render_to_response`]
  113. * :attr:`~django.views.generic.base.TemplateResponseMixin.template_engine`
  114. * :attr:`~django.views.generic.base.TemplateResponseMixin.template_name` [:meth:`~django.views.generic.base.TemplateResponseMixin.get_template_names`]
  115. * :attr:`~django.views.generic.list.MultipleObjectTemplateResponseMixin.template_name_suffix`
  116. **Methods**
  117. * :meth:`~django.views.generic.base.View.as_view`
  118. * :meth:`~django.views.generic.base.View.dispatch`
  119. * :meth:`~django.views.generic.list.BaseListView.get`
  120. * :meth:`~django.views.generic.list.MultipleObjectMixin.get_context_data`
  121. * :meth:`~django.views.generic.list.MultipleObjectMixin.get_paginator`
  122. * ``head()``
  123. * :meth:`~django.views.generic.base.View.http_method_not_allowed`
  124. * :meth:`~django.views.generic.list.MultipleObjectMixin.paginate_queryset`
  125. * :meth:`~django.views.generic.base.TemplateResponseMixin.render_to_response`
  126. * :meth:`~django.views.generic.base.View.setup`
  127. Editing views
  128. =============
  129. ``FormView``
  130. ------------
  131. .. class:: FormView()
  132. **Attributes** (with optional accessor):
  133. * :attr:`~django.views.generic.base.TemplateResponseMixin.content_type`
  134. * :attr:`~django.views.generic.base.ContextMixin.extra_context`
  135. * :attr:`~django.views.generic.edit.FormMixin.form_class` [:meth:`~django.views.generic.edit.FormMixin.get_form_class`]
  136. * :attr:`~django.views.generic.base.View.http_method_names`
  137. * :attr:`~django.views.generic.edit.FormMixin.initial` [:meth:`~django.views.generic.edit.FormMixin.get_initial`]
  138. * :attr:`~django.views.generic.edit.FormMixin.prefix` [:meth:`~django.views.generic.edit.FormMixin.get_prefix`]
  139. * :attr:`~django.views.generic.base.TemplateResponseMixin.response_class` [:meth:`~django.views.generic.base.TemplateResponseMixin.render_to_response`]
  140. * :attr:`~django.views.generic.edit.FormMixin.success_url` [:meth:`~django.views.generic.edit.FormMixin.get_success_url`]
  141. * :attr:`~django.views.generic.base.TemplateResponseMixin.template_engine`
  142. * :attr:`~django.views.generic.base.TemplateResponseMixin.template_name` [:meth:`~django.views.generic.base.TemplateResponseMixin.get_template_names`]
  143. **Methods**
  144. * :meth:`~django.views.generic.base.View.as_view`
  145. * :meth:`~django.views.generic.base.View.dispatch`
  146. * :meth:`~django.views.generic.edit.FormMixin.form_invalid`
  147. * :meth:`~django.views.generic.edit.FormMixin.form_valid`
  148. * :meth:`~django.views.generic.edit.ProcessFormView.get`
  149. * :meth:`~django.views.generic.edit.FormMixin.get_context_data`
  150. * :meth:`~django.views.generic.edit.FormMixin.get_form`
  151. * :meth:`~django.views.generic.edit.FormMixin.get_form_kwargs`
  152. * :meth:`~django.views.generic.base.View.http_method_not_allowed`
  153. * :meth:`~django.views.generic.edit.ProcessFormView.post`
  154. * :meth:`~django.views.generic.edit.ProcessFormView.put`
  155. * :meth:`~django.views.generic.base.View.setup`
  156. ``CreateView``
  157. --------------
  158. .. class:: CreateView()
  159. **Attributes** (with optional accessor):
  160. * :attr:`~django.views.generic.base.TemplateResponseMixin.content_type`
  161. * :attr:`~django.views.generic.detail.SingleObjectMixin.context_object_name` [:meth:`~django.views.generic.detail.SingleObjectMixin.get_context_object_name`]
  162. * :attr:`~django.views.generic.base.ContextMixin.extra_context`
  163. * :attr:`~django.views.generic.edit.ModelFormMixin.fields`
  164. * :attr:`~django.views.generic.edit.FormMixin.form_class` [:meth:`~django.views.generic.edit.ModelFormMixin.get_form_class`]
  165. * :attr:`~django.views.generic.base.View.http_method_names`
  166. * :attr:`~django.views.generic.edit.FormMixin.initial` [:meth:`~django.views.generic.edit.FormMixin.get_initial`]
  167. * :attr:`~django.views.generic.detail.SingleObjectMixin.model`
  168. * :attr:`~django.views.generic.detail.SingleObjectMixin.pk_url_kwarg`
  169. * :attr:`~django.views.generic.edit.FormMixin.prefix` [:meth:`~django.views.generic.edit.FormMixin.get_prefix`]
  170. * :attr:`~django.views.generic.detail.SingleObjectMixin.query_pk_and_slug`
  171. * :attr:`~django.views.generic.detail.SingleObjectMixin.queryset` [:meth:`~django.views.generic.detail.SingleObjectMixin.get_queryset`]
  172. * :attr:`~django.views.generic.base.TemplateResponseMixin.response_class` [:meth:`~django.views.generic.base.TemplateResponseMixin.render_to_response`]
  173. * :attr:`~django.views.generic.detail.SingleObjectMixin.slug_field` [:meth:`~django.views.generic.detail.SingleObjectMixin.get_slug_field`]
  174. * :attr:`~django.views.generic.detail.SingleObjectMixin.slug_url_kwarg`
  175. * :attr:`~django.views.generic.edit.FormMixin.success_url` [:meth:`~django.views.generic.edit.ModelFormMixin.get_success_url`]
  176. * :attr:`~django.views.generic.base.TemplateResponseMixin.template_engine`
  177. * :attr:`~django.views.generic.base.TemplateResponseMixin.template_name` [:meth:`~django.views.generic.base.TemplateResponseMixin.get_template_names`]
  178. * :attr:`~django.views.generic.detail.SingleObjectTemplateResponseMixin.template_name_field`
  179. * :attr:`~django.views.generic.detail.SingleObjectTemplateResponseMixin.template_name_suffix`
  180. **Methods**
  181. * :meth:`~django.views.generic.base.View.as_view`
  182. * :meth:`~django.views.generic.base.View.dispatch`
  183. * :meth:`~django.views.generic.edit.FormMixin.form_invalid`
  184. * :meth:`~django.views.generic.edit.ModelFormMixin.form_valid`
  185. * :meth:`~django.views.generic.edit.ProcessFormView.get`
  186. * :meth:`~django.views.generic.edit.FormMixin.get_context_data`
  187. * :meth:`~django.views.generic.edit.FormMixin.get_form`
  188. * :meth:`~django.views.generic.edit.ModelFormMixin.get_form_kwargs`
  189. * :meth:`~django.views.generic.detail.SingleObjectMixin.get_object`
  190. * ``head()``
  191. * :meth:`~django.views.generic.base.View.http_method_not_allowed`
  192. * :meth:`~django.views.generic.edit.ProcessFormView.post`
  193. * ``put()``
  194. * :meth:`~django.views.generic.base.TemplateResponseMixin.render_to_response`
  195. * :meth:`~django.views.generic.base.View.setup`
  196. ``UpdateView``
  197. --------------
  198. .. class:: UpdateView()
  199. **Attributes** (with optional accessor):
  200. * :attr:`~django.views.generic.base.TemplateResponseMixin.content_type`
  201. * :attr:`~django.views.generic.detail.SingleObjectMixin.context_object_name` [:meth:`~django.views.generic.detail.SingleObjectMixin.get_context_object_name`]
  202. * :attr:`~django.views.generic.base.ContextMixin.extra_context`
  203. * :attr:`~django.views.generic.edit.ModelFormMixin.fields`
  204. * :attr:`~django.views.generic.edit.FormMixin.form_class` [:meth:`~django.views.generic.edit.ModelFormMixin.get_form_class`]
  205. * :attr:`~django.views.generic.base.View.http_method_names`
  206. * :attr:`~django.views.generic.edit.FormMixin.initial` [:meth:`~django.views.generic.edit.FormMixin.get_initial`]
  207. * :attr:`~django.views.generic.detail.SingleObjectMixin.model`
  208. * :attr:`~django.views.generic.detail.SingleObjectMixin.pk_url_kwarg`
  209. * :attr:`~django.views.generic.edit.FormMixin.prefix` [:meth:`~django.views.generic.edit.FormMixin.get_prefix`]
  210. * :attr:`~django.views.generic.detail.SingleObjectMixin.query_pk_and_slug`
  211. * :attr:`~django.views.generic.detail.SingleObjectMixin.queryset` [:meth:`~django.views.generic.detail.SingleObjectMixin.get_queryset`]
  212. * :attr:`~django.views.generic.base.TemplateResponseMixin.response_class` [:meth:`~django.views.generic.base.TemplateResponseMixin.render_to_response`]
  213. * :attr:`~django.views.generic.detail.SingleObjectMixin.slug_field` [:meth:`~django.views.generic.detail.SingleObjectMixin.get_slug_field`]
  214. * :attr:`~django.views.generic.detail.SingleObjectMixin.slug_url_kwarg`
  215. * :attr:`~django.views.generic.edit.FormMixin.success_url` [:meth:`~django.views.generic.edit.ModelFormMixin.get_success_url`]
  216. * :attr:`~django.views.generic.base.TemplateResponseMixin.template_engine`
  217. * :attr:`~django.views.generic.base.TemplateResponseMixin.template_name` [:meth:`~django.views.generic.base.TemplateResponseMixin.get_template_names`]
  218. * :attr:`~django.views.generic.detail.SingleObjectTemplateResponseMixin.template_name_field`
  219. * :attr:`~django.views.generic.detail.SingleObjectTemplateResponseMixin.template_name_suffix`
  220. **Methods**
  221. * :meth:`~django.views.generic.base.View.as_view`
  222. * :meth:`~django.views.generic.base.View.dispatch`
  223. * :meth:`~django.views.generic.edit.FormMixin.form_invalid`
  224. * :meth:`~django.views.generic.edit.ModelFormMixin.form_valid`
  225. * :meth:`~django.views.generic.edit.ProcessFormView.get`
  226. * :meth:`~django.views.generic.edit.FormMixin.get_context_data`
  227. * :meth:`~django.views.generic.edit.FormMixin.get_form`
  228. * :meth:`~django.views.generic.edit.ModelFormMixin.get_form_kwargs`
  229. * :meth:`~django.views.generic.detail.SingleObjectMixin.get_object`
  230. * ``head()``
  231. * :meth:`~django.views.generic.base.View.http_method_not_allowed`
  232. * :meth:`~django.views.generic.edit.ProcessFormView.post`
  233. * ``put()``
  234. * :meth:`~django.views.generic.base.TemplateResponseMixin.render_to_response`
  235. * :meth:`~django.views.generic.base.View.setup`
  236. ``DeleteView``
  237. --------------
  238. .. class:: DeleteView()
  239. **Attributes** (with optional accessor):
  240. * :attr:`~django.views.generic.base.TemplateResponseMixin.content_type`
  241. * :attr:`~django.views.generic.detail.SingleObjectMixin.context_object_name` [:meth:`~django.views.generic.detail.SingleObjectMixin.get_context_object_name`]
  242. * :attr:`~django.views.generic.base.ContextMixin.extra_context`
  243. * :attr:`~django.views.generic.base.View.http_method_names`
  244. * :attr:`~django.views.generic.detail.SingleObjectMixin.model`
  245. * :attr:`~django.views.generic.detail.SingleObjectMixin.pk_url_kwarg`
  246. * :attr:`~django.views.generic.detail.SingleObjectMixin.query_pk_and_slug`
  247. * :attr:`~django.views.generic.detail.SingleObjectMixin.queryset` [:meth:`~django.views.generic.detail.SingleObjectMixin.get_queryset`]
  248. * :attr:`~django.views.generic.base.TemplateResponseMixin.response_class` [:meth:`~django.views.generic.base.TemplateResponseMixin.render_to_response`]
  249. * :attr:`~django.views.generic.detail.SingleObjectMixin.slug_field` [:meth:`~django.views.generic.detail.SingleObjectMixin.get_slug_field`]
  250. * :attr:`~django.views.generic.detail.SingleObjectMixin.slug_url_kwarg`
  251. * :attr:`~django.views.generic.edit.DeletionMixin.success_url` [:meth:`~django.views.generic.edit.DeletionMixin.get_success_url`]
  252. * :attr:`~django.views.generic.base.TemplateResponseMixin.template_engine`
  253. * :attr:`~django.views.generic.base.TemplateResponseMixin.template_name` [:meth:`~django.views.generic.base.TemplateResponseMixin.get_template_names`]
  254. * :attr:`~django.views.generic.detail.SingleObjectTemplateResponseMixin.template_name_field`
  255. * :attr:`~django.views.generic.detail.SingleObjectTemplateResponseMixin.template_name_suffix`
  256. **Methods**
  257. * :meth:`~django.views.generic.base.View.as_view`
  258. * ``delete()``
  259. * :meth:`~django.views.generic.base.View.dispatch`
  260. * ``get()``
  261. * :meth:`~django.views.generic.detail.SingleObjectMixin.get_context_data`
  262. * :meth:`~django.views.generic.detail.SingleObjectMixin.get_object`
  263. * ``head()``
  264. * :meth:`~django.views.generic.base.View.http_method_not_allowed`
  265. * ``post()``
  266. * :meth:`~django.views.generic.base.TemplateResponseMixin.render_to_response`
  267. * :meth:`~django.views.generic.base.View.setup`
  268. Date-based views
  269. ================
  270. ``ArchiveIndexView``
  271. --------------------
  272. .. class:: ArchiveIndexView()
  273. **Attributes** (with optional accessor):
  274. * :attr:`~django.views.generic.list.MultipleObjectMixin.allow_empty` [:meth:`~django.views.generic.list.MultipleObjectMixin.get_allow_empty`]
  275. * :attr:`~django.views.generic.dates.DateMixin.allow_future` [:meth:`~django.views.generic.dates.DateMixin.get_allow_future`]
  276. * :attr:`~django.views.generic.base.TemplateResponseMixin.content_type`
  277. * :attr:`~django.views.generic.list.MultipleObjectMixin.context_object_name` [:meth:`~django.views.generic.list.MultipleObjectMixin.get_context_object_name`]
  278. * :attr:`~django.views.generic.dates.DateMixin.date_field` [:meth:`~django.views.generic.dates.DateMixin.get_date_field`]
  279. * :attr:`~django.views.generic.base.ContextMixin.extra_context`
  280. * :attr:`~django.views.generic.base.View.http_method_names`
  281. * :attr:`~django.views.generic.list.MultipleObjectMixin.model`
  282. * :attr:`~django.views.generic.list.MultipleObjectMixin.ordering` [:meth:`~django.views.generic.list.MultipleObjectMixin.get_ordering`]
  283. * :attr:`~django.views.generic.list.MultipleObjectMixin.paginate_by` [:meth:`~django.views.generic.list.MultipleObjectMixin.get_paginate_by`]
  284. * :attr:`~django.views.generic.list.MultipleObjectMixin.paginate_orphans` [:meth:`~django.views.generic.list.MultipleObjectMixin.get_paginate_orphans`]
  285. * :attr:`~django.views.generic.list.MultipleObjectMixin.paginator_class`
  286. * :attr:`~django.views.generic.list.MultipleObjectMixin.queryset` [:meth:`~django.views.generic.list.MultipleObjectMixin.get_queryset`]
  287. * :attr:`~django.views.generic.base.TemplateResponseMixin.response_class` [:meth:`~django.views.generic.base.TemplateResponseMixin.render_to_response`]
  288. * :attr:`~django.views.generic.base.TemplateResponseMixin.template_engine`
  289. * :attr:`~django.views.generic.base.TemplateResponseMixin.template_name` [:meth:`~django.views.generic.base.TemplateResponseMixin.get_template_names`]
  290. * :attr:`~django.views.generic.list.MultipleObjectTemplateResponseMixin.template_name_suffix`
  291. **Methods**
  292. * :meth:`~django.views.generic.base.View.as_view`
  293. * :meth:`~django.views.generic.base.View.dispatch`
  294. * ``get()``
  295. * :meth:`~django.views.generic.list.MultipleObjectMixin.get_context_data`
  296. * :meth:`~django.views.generic.dates.BaseDateListView.get_date_list`
  297. * :meth:`~django.views.generic.dates.BaseDateListView.get_dated_items`
  298. * :meth:`~django.views.generic.dates.BaseDateListView.get_dated_queryset`
  299. * :meth:`~django.views.generic.list.MultipleObjectMixin.get_paginator`
  300. * ``head()``
  301. * :meth:`~django.views.generic.base.View.http_method_not_allowed`
  302. * :meth:`~django.views.generic.list.MultipleObjectMixin.paginate_queryset`
  303. * :meth:`~django.views.generic.base.TemplateResponseMixin.render_to_response`
  304. * :meth:`~django.views.generic.base.View.setup`
  305. ``YearArchiveView``
  306. -------------------
  307. .. class:: YearArchiveView()
  308. **Attributes** (with optional accessor):
  309. * :attr:`~django.views.generic.list.MultipleObjectMixin.allow_empty` [:meth:`~django.views.generic.list.MultipleObjectMixin.get_allow_empty`]
  310. * :attr:`~django.views.generic.dates.DateMixin.allow_future` [:meth:`~django.views.generic.dates.DateMixin.get_allow_future`]
  311. * :attr:`~django.views.generic.base.TemplateResponseMixin.content_type`
  312. * :attr:`~django.views.generic.list.MultipleObjectMixin.context_object_name` [:meth:`~django.views.generic.list.MultipleObjectMixin.get_context_object_name`]
  313. * :attr:`~django.views.generic.dates.DateMixin.date_field` [:meth:`~django.views.generic.dates.DateMixin.get_date_field`]
  314. * :attr:`~django.views.generic.base.ContextMixin.extra_context`
  315. * :attr:`~django.views.generic.base.View.http_method_names`
  316. * :attr:`~django.views.generic.dates.YearArchiveView.make_object_list` [:meth:`~django.views.generic.dates.YearArchiveView.get_make_object_list`]
  317. * :attr:`~django.views.generic.list.MultipleObjectMixin.model`
  318. * :attr:`~django.views.generic.list.MultipleObjectMixin.ordering` [:meth:`~django.views.generic.list.MultipleObjectMixin.get_ordering`]
  319. * :attr:`~django.views.generic.list.MultipleObjectMixin.paginate_by` [:meth:`~django.views.generic.list.MultipleObjectMixin.get_paginate_by`]
  320. * :attr:`~django.views.generic.list.MultipleObjectMixin.paginate_orphans` [:meth:`~django.views.generic.list.MultipleObjectMixin.get_paginate_orphans`]
  321. * :attr:`~django.views.generic.list.MultipleObjectMixin.paginator_class`
  322. * :attr:`~django.views.generic.list.MultipleObjectMixin.queryset` [:meth:`~django.views.generic.list.MultipleObjectMixin.get_queryset`]
  323. * :attr:`~django.views.generic.base.TemplateResponseMixin.response_class` [:meth:`~django.views.generic.base.TemplateResponseMixin.render_to_response`]
  324. * :attr:`~django.views.generic.base.TemplateResponseMixin.template_engine`
  325. * :attr:`~django.views.generic.base.TemplateResponseMixin.template_name` [:meth:`~django.views.generic.base.TemplateResponseMixin.get_template_names`]
  326. * :attr:`~django.views.generic.list.MultipleObjectTemplateResponseMixin.template_name_suffix`
  327. * :attr:`~django.views.generic.dates.YearMixin.year` [:meth:`~django.views.generic.dates.YearMixin.get_year`]
  328. * :attr:`~django.views.generic.dates.YearMixin.year_format` [:meth:`~django.views.generic.dates.YearMixin.get_year_format`]
  329. **Methods**
  330. * :meth:`~django.views.generic.base.View.as_view`
  331. * :meth:`~django.views.generic.base.View.dispatch`
  332. * ``get()``
  333. * :meth:`~django.views.generic.list.MultipleObjectMixin.get_context_data`
  334. * :meth:`~django.views.generic.dates.BaseDateListView.get_date_list`
  335. * :meth:`~django.views.generic.dates.BaseDateListView.get_dated_items`
  336. * :meth:`~django.views.generic.dates.BaseDateListView.get_dated_queryset`
  337. * :meth:`~django.views.generic.list.MultipleObjectMixin.get_paginator`
  338. * ``head()``
  339. * :meth:`~django.views.generic.base.View.http_method_not_allowed`
  340. * :meth:`~django.views.generic.list.MultipleObjectMixin.paginate_queryset`
  341. * :meth:`~django.views.generic.base.TemplateResponseMixin.render_to_response`
  342. * :meth:`~django.views.generic.base.View.setup`
  343. ``MonthArchiveView``
  344. --------------------
  345. .. class:: MonthArchiveView()
  346. **Attributes** (with optional accessor):
  347. * :attr:`~django.views.generic.list.MultipleObjectMixin.allow_empty` [:meth:`~django.views.generic.list.MultipleObjectMixin.get_allow_empty`]
  348. * :attr:`~django.views.generic.dates.DateMixin.allow_future` [:meth:`~django.views.generic.dates.DateMixin.get_allow_future`]
  349. * :attr:`~django.views.generic.base.TemplateResponseMixin.content_type`
  350. * :attr:`~django.views.generic.list.MultipleObjectMixin.context_object_name` [:meth:`~django.views.generic.list.MultipleObjectMixin.get_context_object_name`]
  351. * :attr:`~django.views.generic.dates.DateMixin.date_field` [:meth:`~django.views.generic.dates.DateMixin.get_date_field`]
  352. * :attr:`~django.views.generic.base.ContextMixin.extra_context`
  353. * :attr:`~django.views.generic.base.View.http_method_names`
  354. * :attr:`~django.views.generic.list.MultipleObjectMixin.model`
  355. * :attr:`~django.views.generic.dates.MonthMixin.month` [:meth:`~django.views.generic.dates.MonthMixin.get_month`]
  356. * :attr:`~django.views.generic.dates.MonthMixin.month_format` [:meth:`~django.views.generic.dates.MonthMixin.get_month_format`]
  357. * :attr:`~django.views.generic.list.MultipleObjectMixin.ordering` [:meth:`~django.views.generic.list.MultipleObjectMixin.get_ordering`]
  358. * :attr:`~django.views.generic.list.MultipleObjectMixin.paginate_by` [:meth:`~django.views.generic.list.MultipleObjectMixin.get_paginate_by`]
  359. * :attr:`~django.views.generic.list.MultipleObjectMixin.paginate_orphans` [:meth:`~django.views.generic.list.MultipleObjectMixin.get_paginate_orphans`]
  360. * :attr:`~django.views.generic.list.MultipleObjectMixin.paginator_class`
  361. * :attr:`~django.views.generic.list.MultipleObjectMixin.queryset` [:meth:`~django.views.generic.list.MultipleObjectMixin.get_queryset`]
  362. * :attr:`~django.views.generic.base.TemplateResponseMixin.response_class` [:meth:`~django.views.generic.base.TemplateResponseMixin.render_to_response`]
  363. * :attr:`~django.views.generic.base.TemplateResponseMixin.template_engine`
  364. * :attr:`~django.views.generic.base.TemplateResponseMixin.template_name` [:meth:`~django.views.generic.base.TemplateResponseMixin.get_template_names`]
  365. * :attr:`~django.views.generic.list.MultipleObjectTemplateResponseMixin.template_name_suffix`
  366. * :attr:`~django.views.generic.dates.YearMixin.year` [:meth:`~django.views.generic.dates.YearMixin.get_year`]
  367. * :attr:`~django.views.generic.dates.YearMixin.year_format` [:meth:`~django.views.generic.dates.YearMixin.get_year_format`]
  368. **Methods**
  369. * :meth:`~django.views.generic.base.View.as_view`
  370. * :meth:`~django.views.generic.base.View.dispatch`
  371. * ``get()``
  372. * :meth:`~django.views.generic.list.MultipleObjectMixin.get_context_data`
  373. * :meth:`~django.views.generic.dates.BaseDateListView.get_date_list`
  374. * :meth:`~django.views.generic.dates.BaseDateListView.get_dated_items`
  375. * :meth:`~django.views.generic.dates.BaseDateListView.get_dated_queryset`
  376. * :meth:`~django.views.generic.dates.MonthMixin.get_next_month`
  377. * :meth:`~django.views.generic.list.MultipleObjectMixin.get_paginator`
  378. * :meth:`~django.views.generic.dates.MonthMixin.get_previous_month`
  379. * ``head()``
  380. * :meth:`~django.views.generic.base.View.http_method_not_allowed`
  381. * :meth:`~django.views.generic.list.MultipleObjectMixin.paginate_queryset`
  382. * :meth:`~django.views.generic.base.TemplateResponseMixin.render_to_response`
  383. * :meth:`~django.views.generic.base.View.setup`
  384. ``WeekArchiveView``
  385. -------------------
  386. .. class:: WeekArchiveView()
  387. **Attributes** (with optional accessor):
  388. * :attr:`~django.views.generic.list.MultipleObjectMixin.allow_empty` [:meth:`~django.views.generic.list.MultipleObjectMixin.get_allow_empty`]
  389. * :attr:`~django.views.generic.dates.DateMixin.allow_future` [:meth:`~django.views.generic.dates.DateMixin.get_allow_future`]
  390. * :attr:`~django.views.generic.base.TemplateResponseMixin.content_type`
  391. * :attr:`~django.views.generic.list.MultipleObjectMixin.context_object_name` [:meth:`~django.views.generic.list.MultipleObjectMixin.get_context_object_name`]
  392. * :attr:`~django.views.generic.dates.DateMixin.date_field` [:meth:`~django.views.generic.dates.DateMixin.get_date_field`]
  393. * :attr:`~django.views.generic.base.ContextMixin.extra_context`
  394. * :attr:`~django.views.generic.base.View.http_method_names`
  395. * :attr:`~django.views.generic.list.MultipleObjectMixin.model`
  396. * :attr:`~django.views.generic.list.MultipleObjectMixin.ordering` [:meth:`~django.views.generic.list.MultipleObjectMixin.get_ordering`]
  397. * :attr:`~django.views.generic.list.MultipleObjectMixin.paginate_by` [:meth:`~django.views.generic.list.MultipleObjectMixin.get_paginate_by`]
  398. * :attr:`~django.views.generic.list.MultipleObjectMixin.paginate_orphans` [:meth:`~django.views.generic.list.MultipleObjectMixin.get_paginate_orphans`]
  399. * :attr:`~django.views.generic.list.MultipleObjectMixin.paginator_class`
  400. * :attr:`~django.views.generic.list.MultipleObjectMixin.queryset` [:meth:`~django.views.generic.list.MultipleObjectMixin.get_queryset`]
  401. * :attr:`~django.views.generic.base.TemplateResponseMixin.response_class` [:meth:`~django.views.generic.base.TemplateResponseMixin.render_to_response`]
  402. * :attr:`~django.views.generic.base.TemplateResponseMixin.template_engine`
  403. * :attr:`~django.views.generic.base.TemplateResponseMixin.template_name` [:meth:`~django.views.generic.base.TemplateResponseMixin.get_template_names`]
  404. * :attr:`~django.views.generic.list.MultipleObjectTemplateResponseMixin.template_name_suffix`
  405. * :attr:`~django.views.generic.dates.WeekMixin.week` [:meth:`~django.views.generic.dates.WeekMixin.get_week`]
  406. * :attr:`~django.views.generic.dates.WeekMixin.week_format` [:meth:`~django.views.generic.dates.WeekMixin.get_week_format`]
  407. * :attr:`~django.views.generic.dates.YearMixin.year` [:meth:`~django.views.generic.dates.YearMixin.get_year`]
  408. * :attr:`~django.views.generic.dates.YearMixin.year_format` [:meth:`~django.views.generic.dates.YearMixin.get_year_format`]
  409. **Methods**
  410. * :meth:`~django.views.generic.base.View.as_view`
  411. * :meth:`~django.views.generic.base.View.dispatch`
  412. * ``get()``
  413. * :meth:`~django.views.generic.list.MultipleObjectMixin.get_context_data`
  414. * :meth:`~django.views.generic.dates.BaseDateListView.get_date_list`
  415. * :meth:`~django.views.generic.dates.BaseDateListView.get_dated_items`
  416. * :meth:`~django.views.generic.dates.BaseDateListView.get_dated_queryset`
  417. * :meth:`~django.views.generic.list.MultipleObjectMixin.get_paginator`
  418. * ``head()``
  419. * :meth:`~django.views.generic.base.View.http_method_not_allowed`
  420. * :meth:`~django.views.generic.list.MultipleObjectMixin.paginate_queryset`
  421. * :meth:`~django.views.generic.base.TemplateResponseMixin.render_to_response`
  422. * :meth:`~django.views.generic.base.View.setup`
  423. ``DayArchiveView``
  424. ------------------
  425. .. class:: DayArchiveView()
  426. **Attributes** (with optional accessor):
  427. * :attr:`~django.views.generic.list.MultipleObjectMixin.allow_empty` [:meth:`~django.views.generic.list.MultipleObjectMixin.get_allow_empty`]
  428. * :attr:`~django.views.generic.dates.DateMixin.allow_future` [:meth:`~django.views.generic.dates.DateMixin.get_allow_future`]
  429. * :attr:`~django.views.generic.base.TemplateResponseMixin.content_type`
  430. * :attr:`~django.views.generic.list.MultipleObjectMixin.context_object_name` [:meth:`~django.views.generic.list.MultipleObjectMixin.get_context_object_name`]
  431. * :attr:`~django.views.generic.dates.DateMixin.date_field` [:meth:`~django.views.generic.dates.DateMixin.get_date_field`]
  432. * :attr:`~django.views.generic.dates.DayMixin.day` [:meth:`~django.views.generic.dates.DayMixin.get_day`]
  433. * :attr:`~django.views.generic.dates.DayMixin.day_format` [:meth:`~django.views.generic.dates.DayMixin.get_day_format`]
  434. * :attr:`~django.views.generic.base.ContextMixin.extra_context`
  435. * :attr:`~django.views.generic.base.View.http_method_names`
  436. * :attr:`~django.views.generic.list.MultipleObjectMixin.model`
  437. * :attr:`~django.views.generic.dates.MonthMixin.month` [:meth:`~django.views.generic.dates.MonthMixin.get_month`]
  438. * :attr:`~django.views.generic.dates.MonthMixin.month_format` [:meth:`~django.views.generic.dates.MonthMixin.get_month_format`]
  439. * :attr:`~django.views.generic.list.MultipleObjectMixin.ordering` [:meth:`~django.views.generic.list.MultipleObjectMixin.get_ordering`]
  440. * :attr:`~django.views.generic.list.MultipleObjectMixin.paginate_by` [:meth:`~django.views.generic.list.MultipleObjectMixin.get_paginate_by`]
  441. * :attr:`~django.views.generic.list.MultipleObjectMixin.paginate_orphans` [:meth:`~django.views.generic.list.MultipleObjectMixin.get_paginate_orphans`]
  442. * :attr:`~django.views.generic.list.MultipleObjectMixin.paginator_class`
  443. * :attr:`~django.views.generic.list.MultipleObjectMixin.queryset` [:meth:`~django.views.generic.list.MultipleObjectMixin.get_queryset`]
  444. * :attr:`~django.views.generic.base.TemplateResponseMixin.response_class` [:meth:`~django.views.generic.base.TemplateResponseMixin.render_to_response`]
  445. * :attr:`~django.views.generic.base.TemplateResponseMixin.template_engine`
  446. * :attr:`~django.views.generic.base.TemplateResponseMixin.template_name` [:meth:`~django.views.generic.base.TemplateResponseMixin.get_template_names`]
  447. * :attr:`~django.views.generic.list.MultipleObjectTemplateResponseMixin.template_name_suffix`
  448. * :attr:`~django.views.generic.dates.YearMixin.year` [:meth:`~django.views.generic.dates.YearMixin.get_year`]
  449. * :attr:`~django.views.generic.dates.YearMixin.year_format` [:meth:`~django.views.generic.dates.YearMixin.get_year_format`]
  450. **Methods**
  451. * :meth:`~django.views.generic.base.View.as_view`
  452. * :meth:`~django.views.generic.base.View.dispatch`
  453. * ``get()``
  454. * :meth:`~django.views.generic.list.MultipleObjectMixin.get_context_data`
  455. * :meth:`~django.views.generic.dates.BaseDateListView.get_date_list`
  456. * :meth:`~django.views.generic.dates.BaseDateListView.get_dated_items`
  457. * :meth:`~django.views.generic.dates.BaseDateListView.get_dated_queryset`
  458. * :meth:`~django.views.generic.dates.DayMixin.get_next_day`
  459. * :meth:`~django.views.generic.dates.MonthMixin.get_next_month`
  460. * :meth:`~django.views.generic.list.MultipleObjectMixin.get_paginator`
  461. * :meth:`~django.views.generic.dates.DayMixin.get_previous_day`
  462. * :meth:`~django.views.generic.dates.MonthMixin.get_previous_month`
  463. * ``head()``
  464. * :meth:`~django.views.generic.base.View.http_method_not_allowed`
  465. * :meth:`~django.views.generic.list.MultipleObjectMixin.paginate_queryset`
  466. * :meth:`~django.views.generic.base.TemplateResponseMixin.render_to_response`
  467. * :meth:`~django.views.generic.base.View.setup`
  468. ``TodayArchiveView``
  469. --------------------
  470. .. class:: TodayArchiveView()
  471. **Attributes** (with optional accessor):
  472. * :attr:`~django.views.generic.list.MultipleObjectMixin.allow_empty` [:meth:`~django.views.generic.list.MultipleObjectMixin.get_allow_empty`]
  473. * :attr:`~django.views.generic.dates.DateMixin.allow_future` [:meth:`~django.views.generic.dates.DateMixin.get_allow_future`]
  474. * :attr:`~django.views.generic.base.TemplateResponseMixin.content_type`
  475. * :attr:`~django.views.generic.list.MultipleObjectMixin.context_object_name` [:meth:`~django.views.generic.list.MultipleObjectMixin.get_context_object_name`]
  476. * :attr:`~django.views.generic.dates.DateMixin.date_field` [:meth:`~django.views.generic.dates.DateMixin.get_date_field`]
  477. * :attr:`~django.views.generic.dates.DayMixin.day` [:meth:`~django.views.generic.dates.DayMixin.get_day`]
  478. * :attr:`~django.views.generic.dates.DayMixin.day_format` [:meth:`~django.views.generic.dates.DayMixin.get_day_format`]
  479. * :attr:`~django.views.generic.base.ContextMixin.extra_context`
  480. * :attr:`~django.views.generic.base.View.http_method_names`
  481. * :attr:`~django.views.generic.list.MultipleObjectMixin.model`
  482. * :attr:`~django.views.generic.dates.MonthMixin.month` [:meth:`~django.views.generic.dates.MonthMixin.get_month`]
  483. * :attr:`~django.views.generic.dates.MonthMixin.month_format` [:meth:`~django.views.generic.dates.MonthMixin.get_month_format`]
  484. * :attr:`~django.views.generic.list.MultipleObjectMixin.ordering` [:meth:`~django.views.generic.list.MultipleObjectMixin.get_ordering`]
  485. * :attr:`~django.views.generic.list.MultipleObjectMixin.paginate_by` [:meth:`~django.views.generic.list.MultipleObjectMixin.get_paginate_by`]
  486. * :attr:`~django.views.generic.list.MultipleObjectMixin.paginate_orphans` [:meth:`~django.views.generic.list.MultipleObjectMixin.get_paginate_orphans`]
  487. * :attr:`~django.views.generic.list.MultipleObjectMixin.paginator_class`
  488. * :attr:`~django.views.generic.list.MultipleObjectMixin.queryset` [:meth:`~django.views.generic.list.MultipleObjectMixin.get_queryset`]
  489. * :attr:`~django.views.generic.base.TemplateResponseMixin.response_class` [:meth:`~django.views.generic.base.TemplateResponseMixin.render_to_response`]
  490. * :attr:`~django.views.generic.base.TemplateResponseMixin.template_engine`
  491. * :attr:`~django.views.generic.base.TemplateResponseMixin.template_name` [:meth:`~django.views.generic.base.TemplateResponseMixin.get_template_names`]
  492. * :attr:`~django.views.generic.list.MultipleObjectTemplateResponseMixin.template_name_suffix`
  493. * :attr:`~django.views.generic.dates.YearMixin.year` [:meth:`~django.views.generic.dates.YearMixin.get_year`]
  494. * :attr:`~django.views.generic.dates.YearMixin.year_format` [:meth:`~django.views.generic.dates.YearMixin.get_year_format`]
  495. **Methods**
  496. * :meth:`~django.views.generic.base.View.as_view`
  497. * :meth:`~django.views.generic.base.View.dispatch`
  498. * ``get()``
  499. * :meth:`~django.views.generic.list.MultipleObjectMixin.get_context_data`
  500. * :meth:`~django.views.generic.dates.BaseDateListView.get_date_list`
  501. * :meth:`~django.views.generic.dates.BaseDateListView.get_dated_items`
  502. * :meth:`~django.views.generic.dates.BaseDateListView.get_dated_queryset`
  503. * :meth:`~django.views.generic.dates.DayMixin.get_next_day`
  504. * :meth:`~django.views.generic.dates.MonthMixin.get_next_month`
  505. * :meth:`~django.views.generic.list.MultipleObjectMixin.get_paginator`
  506. * :meth:`~django.views.generic.dates.DayMixin.get_previous_day`
  507. * :meth:`~django.views.generic.dates.MonthMixin.get_previous_month`
  508. * ``head()``
  509. * :meth:`~django.views.generic.base.View.http_method_not_allowed`
  510. * :meth:`~django.views.generic.list.MultipleObjectMixin.paginate_queryset`
  511. * :meth:`~django.views.generic.base.TemplateResponseMixin.render_to_response`
  512. * :meth:`~django.views.generic.base.View.setup`
  513. ``DateDetailView``
  514. ------------------
  515. .. class:: DateDetailView()
  516. **Attributes** (with optional accessor):
  517. * :attr:`~django.views.generic.dates.DateMixin.allow_future` [:meth:`~django.views.generic.dates.DateMixin.get_allow_future`]
  518. * :attr:`~django.views.generic.base.TemplateResponseMixin.content_type`
  519. * :attr:`~django.views.generic.detail.SingleObjectMixin.context_object_name` [:meth:`~django.views.generic.detail.SingleObjectMixin.get_context_object_name`]
  520. * :attr:`~django.views.generic.dates.DateMixin.date_field` [:meth:`~django.views.generic.dates.DateMixin.get_date_field`]
  521. * :attr:`~django.views.generic.dates.DayMixin.day` [:meth:`~django.views.generic.dates.DayMixin.get_day`]
  522. * :attr:`~django.views.generic.dates.DayMixin.day_format` [:meth:`~django.views.generic.dates.DayMixin.get_day_format`]
  523. * :attr:`~django.views.generic.base.ContextMixin.extra_context`
  524. * :attr:`~django.views.generic.base.View.http_method_names`
  525. * :attr:`~django.views.generic.detail.SingleObjectMixin.model`
  526. * :attr:`~django.views.generic.dates.MonthMixin.month` [:meth:`~django.views.generic.dates.MonthMixin.get_month`]
  527. * :attr:`~django.views.generic.dates.MonthMixin.month_format` [:meth:`~django.views.generic.dates.MonthMixin.get_month_format`]
  528. * :attr:`~django.views.generic.detail.SingleObjectMixin.pk_url_kwarg`
  529. * :attr:`~django.views.generic.detail.SingleObjectMixin.query_pk_and_slug`
  530. * :attr:`~django.views.generic.detail.SingleObjectMixin.queryset` [:meth:`~django.views.generic.detail.SingleObjectMixin.get_queryset`]
  531. * :attr:`~django.views.generic.base.TemplateResponseMixin.response_class` [:meth:`~django.views.generic.base.TemplateResponseMixin.render_to_response`]
  532. * :attr:`~django.views.generic.detail.SingleObjectMixin.slug_field` [:meth:`~django.views.generic.detail.SingleObjectMixin.get_slug_field`]
  533. * :attr:`~django.views.generic.detail.SingleObjectMixin.slug_url_kwarg`
  534. * :attr:`~django.views.generic.base.TemplateResponseMixin.template_engine`
  535. * :attr:`~django.views.generic.base.TemplateResponseMixin.template_name` [:meth:`~django.views.generic.base.TemplateResponseMixin.get_template_names`]
  536. * :attr:`~django.views.generic.detail.SingleObjectTemplateResponseMixin.template_name_field`
  537. * :attr:`~django.views.generic.detail.SingleObjectTemplateResponseMixin.template_name_suffix`
  538. * :attr:`~django.views.generic.dates.YearMixin.year` [:meth:`~django.views.generic.dates.YearMixin.get_year`]
  539. * :attr:`~django.views.generic.dates.YearMixin.year_format` [:meth:`~django.views.generic.dates.YearMixin.get_year_format`]
  540. **Methods**
  541. * :meth:`~django.views.generic.base.View.as_view`
  542. * :meth:`~django.views.generic.base.View.dispatch`
  543. * ``get()``
  544. * :meth:`~django.views.generic.detail.SingleObjectMixin.get_context_data`
  545. * :meth:`~django.views.generic.dates.DayMixin.get_next_day`
  546. * :meth:`~django.views.generic.dates.MonthMixin.get_next_month`
  547. * :meth:`~django.views.generic.detail.SingleObjectMixin.get_object`
  548. * :meth:`~django.views.generic.dates.DayMixin.get_previous_day`
  549. * :meth:`~django.views.generic.dates.MonthMixin.get_previous_month`
  550. * ``head()``
  551. * :meth:`~django.views.generic.base.View.http_method_not_allowed`
  552. * :meth:`~django.views.generic.base.TemplateResponseMixin.render_to_response`
  553. * :meth:`~django.views.generic.base.View.setup`