Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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
  • Loading branch information...
commit b698d7762b7a6f500310c56ccb36213a3aa41a93 1 parent 14fbee6
Justin Bronn jbronn authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  docs/intro/tutorial03.txt
2  docs/intro/tutorial03.txt
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.