From eb3b1cfb81c231ee9f696883972e31ccd9f2e087 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Fri, 23 Sep 2005 22:51:08 +0000 Subject: [PATCH] Fixed ReST bug in [678] git-svn-id: http://code.djangoproject.com/svn/django/trunk@679 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/tutorial03.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):