Fixed #24763 -- Moved DoesNotExist exception to model docs.

This commit is contained in:
David Krisch 2015-05-07 15:30:04 -10:00 committed by Tim Graham
parent 681df1aeaf
commit 1a62f19707
6 changed files with 33 additions and 24 deletions

View file

@ -279,7 +279,7 @@ will be returned::
Calls :meth:`~django.db.models.query.QuerySet.get()` on a given model manager,
but it raises :class:`~django.http.Http404` instead of the model's
:class:`~django.core.exceptions.DoesNotExist` exception.
:class:`~django.db.models.Model.DoesNotExist` exception.
Required arguments
------------------