summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2007-08-19 10:14:58 +0000
committerMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2007-08-19 10:14:58 +0000
commit79801f504ff3de4cdde3e101f2c5a3a2bfdd6037 (patch)
tree586e462717d655c839bd9115dabdb7c164644919 /docs
parentcfd5b184fba4f51a6756fecaf4ec4272f3e23bfc (diff)
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
Diffstat (limited to 'docs')
-rw-r--r--docs/templates.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/templates.txt b/docs/templates.txt
index 53384864ea..f8c7f8bf06 100644
--- a/docs/templates.txt
+++ b/docs/templates.txt
@@ -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
~~~~~~~~~~