Browse files

Modified r11531 to use the original suggested text from the patch (wh…

…ich was better).

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 15f3610 commit 1ed9d29db8c331f31e7bb21ccaf81aba7aa307c0 @freakboy3742 freakboy3742 committed Sep 12, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/topics/http/shortcuts.txt
2 docs/topics/http/shortcuts.txt
@@ -147,7 +147,7 @@ will be returned::
-.. 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

0 comments on commit 1ed9d29

Please sign in to comment.