From fab483971cbef9f03d1c3270851db6cd0fdccc45 Mon Sep 17 00:00:00 2001 From: Jannis Leidel Date: Fri, 29 Jul 2011 09:40:15 +0000 Subject: [PATCH] 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 --- docs/ref/class-based-views.txt | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/docs/ref/class-based-views.txt b/docs/ref/class-based-views.txt index 625fc192af..3e6b5c39f3 100644 --- a/docs/ref/class-based-views.txt +++ b/docs/ref/class-based-views.txt @@ -1288,8 +1288,8 @@ TodayArchiveView .. class:: TodayArchiveView() A day archive page showing all objects for *today*. This is exactly the - same as ``archive_day``, except the ``year``/``month``/``day`` arguments - are not used, + same as :class:`django.views.generic.dates.DayArchiveView`, except today's + date is used instead of the ``year``/``month``/``day`` arguments. :class:`~django.views.generic.dates.BaseTodayArchiveView` implements the same behavior as :class:`~django.views.generic.dates.TodayArchiveView`, but @@ -1298,7 +1298,8 @@ TodayArchiveView **Mixins** - * :class:`django.views.generic.dates.DayArchiveView` + * :class:`django.views.generic.list.MultipleObjectTemplateResponseMixin` + * :class:`django.views.generic.dates.BaseDayArchiveView` DateDetailView ~~~~~~~~~~~~~~ @@ -1316,8 +1317,9 @@ DateDetailView **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.MonthMixin` * :class:`django.views.generic.dates.DayMixin` - * :class:`django.views.generic.dates.BaseDateListView`