diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2005-09-23 22:51:08 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2005-09-23 22:51:08 +0000 |
| commit | eb3b1cfb81c231ee9f696883972e31ccd9f2e087 (patch) | |
| tree | cbe1f004a29046847c7b25e850043b8e686e2921 /docs/tutorial03.txt | |
| parent | b7528320b64f3e818f798daa7235f7b5721d4ac2 (diff) | |
Fixed ReST bug in [678]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@679 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/tutorial03.txt')
| -rw-r--r-- | docs/tutorial03.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/tutorial03.txt b/docs/tutorial03.txt index d34c480661..2bbd8d7782 100644 --- a/docs/tutorial03.txt +++ b/docs/tutorial03.txt @@ -285,7 +285,7 @@ A shortcut: get_object_or_404() It's a very common idiom to use ``get_object()`` and raise ``Http404`` if the object doesn't exist. Django provides a shortcut. Here's the ``detail()`` view, -rewritten: +rewritten:: from django.core.extensions import get_object_or_404 def detail(request, poll_id): |
