mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +00:00
Fixed #25382 -- Removed obsolete references to DateQuerySet.
This commit is contained in:
parent
fba8655e88
commit
e3720b990a
4 changed files with 17 additions and 23 deletions
|
@ -646,9 +646,9 @@ dates
|
|||
|
||||
.. method:: dates(field, kind, order='ASC')
|
||||
|
||||
Returns a ``DateQuerySet`` — a ``QuerySet`` that evaluates to a list of
|
||||
:class:`datetime.date` objects representing all available dates of a
|
||||
particular kind within the contents of the ``QuerySet``.
|
||||
Returns a ``QuerySet`` that evaluates to a list of :class:`datetime.date`
|
||||
objects representing all available dates of a particular kind within the
|
||||
contents of the ``QuerySet``.
|
||||
|
||||
``field`` should be the name of a ``DateField`` of your model.
|
||||
``kind`` should be either ``"year"``, ``"month"`` or ``"day"``. Each
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue