mirror of
https://github.com/django/django.git
synced 2025-07-24 13:44:32 +00:00
Fixed #24763 -- Moved DoesNotExist exception to model docs.
This commit is contained in:
parent
681df1aeaf
commit
1a62f19707
6 changed files with 33 additions and 24 deletions
|
@ -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
|
||||
------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue