Commits

Anonymous committed 84adcf8

[1.0.X] Fixed #11556 -- Clarified the argument required by get_object_or_404. Thanks to rbonvall for the report.

Merge of r11344 from trunk.

  • Participants
  • Parent commits 3761bf3
  • Branches releases/1.0.X

Comments (0)

Files changed (1)

File docs/intro/tutorial03.txt

         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