mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Fixed #24763 -- Moved DoesNotExist exception to model docs.
This commit is contained in:
@@ -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
|
||||
------------------
|
||||
|
||||
Reference in New Issue
Block a user