diff options
| author | Renato Oliveira <renato@labcodes.com.br> | 2015-09-11 10:14:35 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-09-11 12:16:06 -0400 |
| commit | e3720b990a33ae259da4b1f1f6069aa6bbc8c03d (patch) | |
| tree | 3edd893660805b93724f854fa986352e9fe7b50a /docs/ref/class-based-views | |
| parent | fba8655e88e9ed576630d7f505389119ab36ef28 (diff) | |
Fixed #25382 -- Removed obsolete references to DateQuerySet.
Diffstat (limited to 'docs/ref/class-based-views')
| -rw-r--r-- | docs/ref/class-based-views/generic-date-based.txt | 26 |
1 files changed, 10 insertions, 16 deletions
diff --git a/docs/ref/class-based-views/generic-date-based.txt b/docs/ref/class-based-views/generic-date-based.txt index 81b42e0982..d8b7933138 100644 --- a/docs/ref/class-based-views/generic-date-based.txt +++ b/docs/ref/class-based-views/generic-date-based.txt @@ -48,11 +48,9 @@ ArchiveIndexView :class:`django.views.generic.dates.BaseDateListView`), the template's context will be: - * ``date_list``: A - :meth:`DateQuerySet<django.db.models.query.QuerySet.dates>` object - containing all years that have objects available according to - ``queryset``, represented as - :class:`datetime.datetime<python:datetime.datetime>` objects, in + * ``date_list``: A :meth:`QuerySet <django.db.models.query.QuerySet.dates>` + object containing all years that have objects available according to + ``queryset``, represented as :class:`datetime.datetime` objects, in descending order. **Notes** @@ -128,11 +126,9 @@ YearArchiveView :class:`django.views.generic.dates.BaseDateListView`), the template's context will be: - * ``date_list``: A - :meth:`DateQuerySet<django.db.models.query.QuerySet.dates>` object - containing all months that have objects available according to - ``queryset``, represented as - :class:`datetime.datetime<python:datetime.datetime>` objects, in + * ``date_list``: A :meth:`QuerySet <django.db.models.query.QuerySet.dates>` + object containing all months that have objects available according to + ``queryset``, represented as :class:`datetime.datetime` objects, in ascending order. * ``year``: A :class:`~datetime.date` object @@ -223,12 +219,10 @@ MonthArchiveView :class:`~django.views.generic.dates.BaseDateListView`), the template's context will be: - * ``date_list``: A - :meth:`DateQuerySet<django.db.models.query.QuerySet.dates>` object - containing all days that have objects available in the given month, - according to ``queryset``, represented as - :class:`datetime.datetime<python:datetime.datetime>` objects, in - ascending order. + * ``date_list``: A :meth:`QuerySet <django.db.models.query.QuerySet.dates>` + object containing all days that have objects available in the given month, + according to ``queryset``, represented as :class:`datetime.datetime` + objects, in ascending order. * ``month``: A :class:`~datetime.date` object representing the given month. |
