Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #11556 -- Clarified the argument required by get_object_or_404.…

… Thanks to rbonvall for the report.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@11344 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 870828078337a6d218c084405d7d32de12a84982 1 parent 3412860
Russell Keith-Magee authored July 28, 2009

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  docs/intro/tutorial03.txt
4  docs/intro/tutorial03.txt
@@ -326,8 +326,8 @@ shortcut. Here's the ``detail()`` view, rewritten::
326 326
         return render_to_response('polls/detail.html', {'poll': p})
327 327
 
328 328
 The :func:`~django.shortcuts.get_object_or_404` function takes a Django model
329  
-module as its first argument and an arbitrary number of keyword arguments, which
330  
-it passes to the module's :meth:`~django.db.models.QuerySet.get` function. It
  329
+as its first argument and an arbitrary number of keyword arguments, which it
  330
+passes to the module's :meth:`~django.db.models.QuerySet.get` function. It
331 331
 raises :exc:`~django.http.Http404` if the object doesn't exist.
332 332
 
333 333
 .. admonition:: Philosophy

0 notes on commit 8708280

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