Kaydet (Commit) 15f36107 authored tarafından Russell Keith-Magee's avatar Russell Keith-Magee

Fixed #11589 -- Corrected an argument in the shortcuts documentation. Thanks to…

Fixed #11589 -- Corrected an argument in the shortcuts documentation. Thanks to tsaylor for the report.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@11531 bcc190cf-cafb-0310-a4f2-bffc1f526a37
üst d2321e37
......@@ -147,7 +147,7 @@ will be returned::
``get_object_or_404``
=====================
.. function:: get_object_or_404(object, *args, **kwargs)
.. function:: get_object_or_404(Model, *args, **kwargs)
Calls :meth:`~django.db.models.QuerySet.get()` on a given model manager,
but it raises ``django.http.Http404`` instead of the model's
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment