diff options
Diffstat (limited to 'docs/ref/models')
| -rw-r--r-- | docs/ref/models/querysets.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/ref/models/querysets.txt b/docs/ref/models/querysets.txt index 47a75ddfc6..3b681dc543 100644 --- a/docs/ref/models/querysets.txt +++ b/docs/ref/models/querysets.txt @@ -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 |
