diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2006-05-16 20:45:20 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2006-05-16 20:45:20 +0000 |
| commit | 27612d8b7d9263d883b83331883c7bbe862122e0 (patch) | |
| tree | 638b5cb0bccc37d6841c61d0181cd9a35100092d /docs/tutorial03.txt | |
| parent | aa6b13c96bb76f1603adf9fcf512ac842d478f32 (diff) | |
Fixed #1833 -- Fixed some errors in tutorials. Thanks, quarkcool@yahoo.fr
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2923 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/tutorial03.txt')
| -rw-r--r-- | docs/tutorial03.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/tutorial03.txt b/docs/tutorial03.txt index 9dce729d24..f368d54c53 100644 --- a/docs/tutorial03.txt +++ b/docs/tutorial03.txt @@ -91,7 +91,7 @@ Finally, it calls that ``detail()`` function like so:: The ``poll_id='23'`` part comes from ``(?P<poll_id>\d+)``. Using parenthesis 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 experession to match a sequence of +identify the matched pattern; and ``\d+`` is a regular experession to match a sequence of digits (i.e., a number). Because the URL patterns are regular expressions, there really is no limit on |
