mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Fixed #2845 -- Corrected a few spelling errors in the docs and changed a
couple of correctly spelt words to their North American counterparts for consistency. Thanks, treborhudson@gmail.com git-svn-id: http://code.djangoproject.com/svn/django/trunk@3883 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
7d5f6fe0f4
commit
fa8a1d252a
8 changed files with 12 additions and 12 deletions
|
@ -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 expression to match a sequence of
|
||||
digits (i.e., a number).
|
||||
|
||||
Because the URL patterns are regular expressions, there really is no limit on
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue