summaryrefslogtreecommitdiff
path: root/docs/topics/http
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2009-09-12 22:41:12 +0000
committerRussell Keith-Magee <russell@keith-magee.com>2009-09-12 22:41:12 +0000
commit1ed9d29db8c331f31e7bb21ccaf81aba7aa307c0 (patch)
treea1942b62b5b59403a7de2bcb221a5c37f2ba14c3 /docs/topics/http
parent15f36107473156dd58e6061ded4f0f49dff338b4 (diff)
Modified r11531 to use the original suggested text from the patch (which was better).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11532 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 85823b582b..e8039fe253 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(Model, *args, **kwargs)
+.. function:: get_object_or_404(klass, *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