mirror of https://github.com/django/django.git
Refs #7216 -- Corrected typo, removed comma, trimmed trailing whitespace, and fixed reST link in [7678].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7681 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
04df702263
commit
f410de010d
|
@ -2011,8 +2011,8 @@ confuse the reverse URL matcher (because multiple patterns point to
|
|||
the same view).
|
||||
|
||||
For that problem, Django has **named URL patterns**. Using a named
|
||||
URL patter, it's possible to give a name to a pattern, and then
|
||||
reference the name, rather than the view function. A named URL
|
||||
URL pattern, it's possible to give a name to a pattern, and then
|
||||
reference the name rather than the view function. A named URL
|
||||
pattern is defined by replacing the pattern tuple by a call to
|
||||
the ``url`` function)::
|
||||
|
||||
|
@ -2033,7 +2033,7 @@ of the view name::
|
|||
|
||||
More details on named URL patterns can be found in `URL dispatch documentation`_.
|
||||
|
||||
.. _URL dispatch: ../url_dispatch/#naming-url-patterns
|
||||
.. _URL dispatch documentation: ../url_dispatch/#naming-url-patterns
|
||||
|
||||
Executing custom SQL
|
||||
--------------------
|
||||
|
|
Loading…
Reference in New Issue