Commit b698d776 authored by Justin Bronn's avatar Justin Bronn
Browse files

[1.1.X] Fixed #12585 -- Corrected typo in tutorial03. Thanks, fcsmith.

Backport of r12484 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12608 bcc190cf-cafb-0310-a4f2-bffc1f526a37
parent 14fbee69
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -103,7 +103,7 @@ it calls that ``detail()`` function like so::

    detail(request=<HttpRequest object>, poll_id='23')

The ``poll_id='23'`` part comes from ``(?P<poll_id>\d+)``. Using parenthesis
The ``poll_id='23'`` part comes from ``(?P<poll_id>\d+)``. Using parentheses
around a pattern "captures" the text matched by that pattern and sends it as an
argument to the view function; the ``?P<poll_id>`` defines the name that will be
used to identify the matched pattern; and ``\d+`` is a regular expression to