diff options
| author | Chris Cahoon <chris.cahoon@gmail.com> | 2009-08-13 00:52:32 +0000 |
|---|---|---|
| committer | Chris Cahoon <chris.cahoon@gmail.com> | 2009-08-13 00:52:32 +0000 |
| commit | d76879d1b3f443705afe4ee0b241903f36c2821b (patch) | |
| tree | 1632511e9ffde8b4f0b73f03ceca3d4798fbd436 /docs/intro/tutorial03.txt | |
| parent | 1da736f0f9f3c2bff93fac15f87ced56df5df21e (diff) | |
[soc2009/http-wsgi-improvements] Merged up to r11423.
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/http-wsgi-improvements@11440 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/intro/tutorial03.txt')
| -rw-r--r-- | docs/intro/tutorial03.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/intro/tutorial03.txt b/docs/intro/tutorial03.txt index 687407a284..238dc63f71 100644 --- a/docs/intro/tutorial03.txt +++ b/docs/intro/tutorial03.txt @@ -326,8 +326,8 @@ shortcut. Here's the ``detail()`` view, rewritten:: 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 |
