Fixed #17205 -- Fixed a small typo in the urls doc. Thanks, rabio.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17083 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
726f082aa9
commit
1aef1b20aa
|
@ -688,7 +688,7 @@ This is completely valid, but it leads to problems when you try to do reverse
|
||||||
URL matching (through the ``permalink()`` decorator or the :ttag:`url` template
|
URL matching (through the ``permalink()`` decorator or the :ttag:`url` template
|
||||||
tag). Continuing this example, if you wanted to retrieve the URL for the
|
tag). Continuing this example, if you wanted to retrieve the URL for the
|
||||||
``archive`` view, Django's reverse URL matcher would get confused, because *two*
|
``archive`` view, Django's reverse URL matcher would get confused, because *two*
|
||||||
URLpatterns point at that view.
|
URL patterns point at that view.
|
||||||
|
|
||||||
To solve this problem, Django supports **named URL patterns**. That is, you can
|
To solve this problem, Django supports **named URL patterns**. That is, you can
|
||||||
give a name to a URL pattern in order to distinguish it from other patterns
|
give a name to a URL pattern in order to distinguish it from other patterns
|
||||||
|
|
Loading…
Reference in New Issue