diff options
Diffstat (limited to 'docs/topics/db')
| -rw-r--r-- | docs/topics/db/queries.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/topics/db/queries.txt b/docs/topics/db/queries.txt index 90c06ac66a..a869b6afad 100644 --- a/docs/topics/db/queries.txt +++ b/docs/topics/db/queries.txt @@ -327,8 +327,8 @@ a primary key of 1, Django will raise ``Entry.DoesNotExist``. Similarly, Django will complain if more than one item matches the :meth:`~django.db.models.query.QuerySet.get` query. In this case, it will raise -``MultipleObjectsReturned``, which again is an attribute of the model class -itself. +:exc:`~django.core.exceptions.MultipleObjectsReturned`, which again is an +attribute of the model class itself. Other QuerySet methods |
