diff options
| author | Justin Bronn <jbronn@gmail.com> | 2010-02-26 16:56:39 +0000 |
|---|---|---|
| committer | Justin Bronn <jbronn@gmail.com> | 2010-02-26 16:56:39 +0000 |
| commit | b698d7762b7a6f500310c56ccb36213a3aa41a93 (patch) | |
| tree | 00aab7f46935b1e69dbf115f3f4f80c6a8c8b4dd | |
| parent | 14fbee6958e88b8bdee6bee58b7db1cc3f44903c (diff) | |
[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
| -rw-r--r-- | docs/intro/tutorial03.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/intro/tutorial03.txt b/docs/intro/tutorial03.txt index 1438a9e776..41e10a7abd 100644 --- a/docs/intro/tutorial03.txt +++ b/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 |
