Kaydet (Commit) 1aef1b20 authored tarafından Julien Phalip's avatar Julien Phalip

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
üst 726f082a
...@@ -688,7 +688,7 @@ This is completely valid, but it leads to problems when you try to do reverse ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment