mirror of https://github.com/django/django.git
Added a note that the development version supports named URL patterns in the url template tag.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5938 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
cfd5b184fb
commit
79801f504f
|
@ -937,6 +937,12 @@ such as this::
|
|||
|
||||
The template tag will output the string ``/clients/client/123/``.
|
||||
|
||||
**New in development version.**
|
||||
If you are using `named URL patterns`_, you can refer to the name of the
|
||||
pattern in the ``url`` tag instead of using the path to the view.
|
||||
|
||||
.. _named URL patterns: ../url_dispatch/#naming-url-patterns
|
||||
|
||||
widthratio
|
||||
~~~~~~~~~~
|
||||
|
||||
|
|
Loading…
Reference in New Issue