From 79801f504ff3de4cdde3e101f2c5a3a2bfdd6037 Mon Sep 17 00:00:00 2001 From: Malcolm Tredinnick Date: Sun, 19 Aug 2007 10:14:58 +0000 Subject: [PATCH] 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 --- docs/templates.txt | 6 ++++++ 1 file changed, 6 insertions(+) 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 ~~~~~~~~~~