Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed ReST bug in [678]

git-svn-id: http://code.djangoproject.com/svn/django/trunk@679 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit eb3b1cfb81c231ee9f696883972e31ccd9f2e087 1 parent b752832
@adrianholovaty adrianholovaty authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  docs/tutorial03.txt
View
2  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):
Please sign in to comment.
Something went wrong with that request. Please try again.