mirror of
https://github.com/django/django.git
synced 2025-04-01 12:06:43 +00:00
Fixed #16464 -- Fixed the reference docs of the DateDetailView view. Thanks, Julien Phalip.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16563 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
50ed810c1f
commit
fab483971c
@ -1288,8 +1288,8 @@ TodayArchiveView
|
|||||||
.. class:: TodayArchiveView()
|
.. class:: TodayArchiveView()
|
||||||
|
|
||||||
A day archive page showing all objects for *today*. This is exactly the
|
A day archive page showing all objects for *today*. This is exactly the
|
||||||
same as ``archive_day``, except the ``year``/``month``/``day`` arguments
|
same as :class:`django.views.generic.dates.DayArchiveView`, except today's
|
||||||
are not used,
|
date is used instead of the ``year``/``month``/``day`` arguments.
|
||||||
|
|
||||||
:class:`~django.views.generic.dates.BaseTodayArchiveView` implements the
|
:class:`~django.views.generic.dates.BaseTodayArchiveView` implements the
|
||||||
same behavior as :class:`~django.views.generic.dates.TodayArchiveView`, but
|
same behavior as :class:`~django.views.generic.dates.TodayArchiveView`, but
|
||||||
@ -1298,7 +1298,8 @@ TodayArchiveView
|
|||||||
|
|
||||||
**Mixins**
|
**Mixins**
|
||||||
|
|
||||||
* :class:`django.views.generic.dates.DayArchiveView`
|
* :class:`django.views.generic.list.MultipleObjectTemplateResponseMixin`
|
||||||
|
* :class:`django.views.generic.dates.BaseDayArchiveView`
|
||||||
|
|
||||||
DateDetailView
|
DateDetailView
|
||||||
~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~
|
||||||
@ -1316,8 +1317,9 @@ DateDetailView
|
|||||||
|
|
||||||
**Mixins**
|
**Mixins**
|
||||||
|
|
||||||
* :class:`django.views.generic.list.MultipleObjectTemplateResponseMixin`
|
* :class:`django.views.generic.detail.SingleObjectTemplateResponseMixin`
|
||||||
|
* :class:`django.views.generic.detail.BaseDetailView`
|
||||||
|
* :class:`django.views.generic.dates.DateMixin`
|
||||||
* :class:`django.views.generic.dates.YearMixin`
|
* :class:`django.views.generic.dates.YearMixin`
|
||||||
* :class:`django.views.generic.dates.MonthMixin`
|
* :class:`django.views.generic.dates.MonthMixin`
|
||||||
* :class:`django.views.generic.dates.DayMixin`
|
* :class:`django.views.generic.dates.DayMixin`
|
||||||
* :class:`django.views.generic.dates.BaseDateListView`
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user