summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorOliver Meinusch <omeinusch@users.noreply.github.com>2014-10-27 23:18:37 +0100
committerTim Graham <timograham@gmail.com>2014-10-27 19:48:29 -0400
commit6b39401bafa955f4891700996aa666349fcdef74 (patch)
tree80f99cf4ab3db27857c69062d4b1fe32eba3c45c /docs/ref
parente460b1c573359b256d79c0d4cf6aeb492deca97c (diff)
Fixed QuerySet datetimes argument name in docs.
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/models/querysets.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/models/querysets.txt b/docs/ref/models/querysets.txt
index 57627016b8..39e9c6501c 100644
--- a/docs/ref/models/querysets.txt
+++ b/docs/ref/models/querysets.txt
@@ -649,13 +649,13 @@ Examples::
datetimes
~~~~~~~~~
-.. method:: datetimes(field, kind, order='ASC', tzinfo=None)
+.. method:: datetimes(field_name, kind, order='ASC', tzinfo=None)
Returns a ``DateTimeQuerySet`` — a ``QuerySet`` that evaluates to a list of
:class:`datetime.datetime` objects representing all available dates of a
particular kind within the contents of the ``QuerySet``.
-``field`` should be the name of a ``DateTimeField`` of your model.
+``field_name`` should be the name of a ``DateTimeField`` of your model.
``kind`` should be either ``"year"``, ``"month"``, ``"day"``, ``"hour"``,
``"minute"`` or ``"second"``. Each ``datetime.datetime`` object in the result