summaryrefslogtreecommitdiff
path: root/docs/topics/http
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2009-09-12 22:32:07 +0000
committerRussell Keith-Magee <russell@keith-magee.com>2009-09-12 22:32:07 +0000
commit15f36107473156dd58e6061ded4f0f49dff338b4 (patch)
tree6f66c487bc1641b5f3ea4734e424ce72977f8002 /docs/topics/http
parentd2321e37eb149fdd20c5332ac8b648b3244e0b39 (diff)
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
Diffstat (limited to 'docs/topics/http')
-rw-r--r--docs/topics/http/shortcuts.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/http/shortcuts.txt b/docs/topics/http/shortcuts.txt
index 2bc35a3b9f..85823b582b 100644
--- a/docs/topics/http/shortcuts.txt
+++ b/docs/topics/http/shortcuts.txt
@@ -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