Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[1.1.X] Fixed #11589 -- Corrected an argument in the shortcuts docume…

…ntation. Thanks to tsaylor for the report.

Merge of r11531 and r11532 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11553 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 10e3c9f1e0d4754a5fdeaa7ac8e03d8db53b29d6 1 parent 39c53b4
Russell Keith-Magee authored September 13, 2009

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  docs/topics/http/shortcuts.txt
2  docs/topics/http/shortcuts.txt
@@ -147,7 +147,7 @@ will be returned::
147 147
 ``get_object_or_404``
148 148
 =====================
149 149
 
150  
-.. function:: get_object_or_404(object, *args, **kwargs)
  150
+.. function:: get_object_or_404(klass, *args, **kwargs)
151 151
 
152 152
    Calls :meth:`~django.db.models.QuerySet.get()` on a given model manager,
153 153
    but it raises ``django.http.Http404`` instead of the model's

0 notes on commit 10e3c9f

Please sign in to comment.
Something went wrong with that request. Please try again.