summaryrefslogtreecommitdiff
path: root/docs/ref/models
diff options
context:
space:
mode:
authorRenato Oliveira <renato@labcodes.com.br>2015-09-11 10:14:35 -0500
committerTim Graham <timograham@gmail.com>2015-09-11 12:21:11 -0400
commitf328ebdede9e10779c1fb93d45f72dade7eda23f (patch)
tree99d0d256aed38bb43cf7903f2eafb414e89cf0a8 /docs/ref/models
parentd32edd8c99da8a5035542b7bcc83891edda73116 (diff)
[1.8.x] Fixed #25382 -- Removed obsolete references to DateQuerySet.
Backport of e3720b990a33ae259da4b1f1f6069aa6bbc8c03d from master
Diffstat (limited to 'docs/ref/models')
-rw-r--r--docs/ref/models/querysets.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/ref/models/querysets.txt b/docs/ref/models/querysets.txt
index c794bb27ef..c5f83a7cf4 100644
--- a/docs/ref/models/querysets.txt
+++ b/docs/ref/models/querysets.txt
@@ -660,9 +660,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