diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2012-03-11 11:49:38 +0000 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2012-03-11 11:49:38 +0000 |
| commit | e1a31aadb0dcfe03853b3c288ff81c1ed32dc227 (patch) | |
| tree | efbb11572f2c5dbad49848356caef58b61efcb85 /docs/ref | |
| parent | c6425aafa58867d90ae11e7420bd6ba90693dd88 (diff) | |
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
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/models/instances.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/models/instances.txt b/docs/ref/models/instances.txt index d84fb3e584..1f60f43c97 100644 --- a/docs/ref/models/instances.txt +++ b/docs/ref/models/instances.txt @@ -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>`. |
