Browse files

Fixed #12585 -- Corrected typo in tutorial03. Thanks, fcsmith.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent d5c4d5f commit 84cffa2ecea8b52508af31281c197f1edbbb6e85 @jbronn jbronn committed Feb 22, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/intro/tutorial03.txt
@@ -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

0 comments on commit 84cffa2

Please sign in to comment.