diff options
| author | Tim Graham <timograham@gmail.com> | 2012-12-25 09:56:22 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2012-12-26 19:10:50 -0500 |
| commit | fbc06eef1af1d7ecf91fae5a94a1994f356ffd22 (patch) | |
| tree | 0d45acf4eecae06ddc205ffc8b23b11dcb4896b9 /docs/ref/models/instances.txt | |
| parent | e2396bf1220c543ee8d15c7640481889caace61d (diff) | |
[1.5.X] Fixed broken links, round 3. refs #19516
Backport of b3a8c9dab8 from master
Diffstat (limited to 'docs/ref/models/instances.txt')
| -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 6315985ba9..4479e4b766 100644 --- a/docs/ref/models/instances.txt +++ b/docs/ref/models/instances.txt @@ -659,7 +659,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 -a :exc:`~django.db.DoesNotExist` exception when appropriate. +a :exc:`~django.core.exceptions.DoesNotExist` exception when appropriate. Both methods accept optional keyword arguments, which should be in the format described in :ref:`Field lookups <field-lookups>`. |
