Commit e1a31aad authored by Aymeric Augustin's avatar Aymeric Augustin
Browse files

Fixed an inappropriate repetition. Thanks DanGer for the report.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@17679 bcc190cf-cafb-0310-a4f2-bffc1f526a37
parent c6425aaf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -578,7 +578,7 @@ For every :class:`~django.db.models.DateField` and
<django.db.models.Field.null>`, the object will have ``get_next_by_FOO()`` and
``get_previous_by_FOO()`` methods, where ``FOO`` is the name of the field. This
returns the next and previous object with respect to the date field, raising
the appropriate :exc:`~django.db.DoesNotExist` exception when appropriate.
a :exc:`~django.db.DoesNotExist` exception when appropriate.

Both methods accept optional keyword arguments, which should be in the format
described in :ref:`Field lookups <field-lookups>`.