Ticket #17378: 17378.diff

File 17378.diff, 34.8 KB (added by Tim Graham, 12 years ago)

Fixed a couple typos in Preston's original pull request and updated formatting

  • docs/index.txt

    diff --git a/docs/index.txt b/docs/index.txt
    index 011ecdb..af99e32 100644
    a b to know about views via the links below:  
    106106* **Class-based views:**
    107107  :doc:`Overview<topics/class-based-views/index>` |
    108108  :doc:`Built-in class-based views<ref/class-based-views/index>` |
    109   :doc:`Built-in view mixins<ref/class-based-views/mixins>`
     109  :doc:`Built-in view mixins<ref/class-based-views/mixins>` |
     110  :doc:`Flattened index<ref/class-based-views/flattened-index>`
    110111
    111112* **Advanced:**
    112113  :doc:`Generating CSV <howto/outputting-csv>` |
  • new file docs/ref/class-based-views/flattened-index.txt

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