Author: russellm
Date: 2009-07-28 09:38:11 -0500 (Tue, 28 Jul 2009)
New Revision: 11344

Modified:
   django/trunk/docs/intro/tutorial03.txt
Log:
Fixed #11556 -- Clarified the argument required by get_object_or_404. Thanks to 
rbonvall for the report.

Modified: django/trunk/docs/intro/tutorial03.txt
===================================================================
--- django/trunk/docs/intro/tutorial03.txt      2009-07-27 14:32:30 UTC (rev 
11343)
+++ django/trunk/docs/intro/tutorial03.txt      2009-07-28 14:38:11 UTC (rev 
11344)
@@ -326,8 +326,8 @@
         return render_to_response('polls/detail.html', {'poll': p})
 
 The :func:`~django.shortcuts.get_object_or_404` function takes a Django model
-module as its first argument and an arbitrary number of keyword arguments, 
which
-it passes to the module's :meth:`~django.db.models.QuerySet.get` function. It
+as its first argument and an arbitrary number of keyword arguments, which it
+passes to the module's :meth:`~django.db.models.QuerySet.get` function. It
 raises :exc:`~django.http.Http404` if the object doesn't exist.
 
 .. admonition:: Philosophy


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to