summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorJochem Oosterveen <jochem@oosterveen.net>2014-02-22 16:25:49 +0100
committerBaptiste Mispelon <bmispelon@gmail.com>2014-02-23 13:54:17 +0100
commit882f2a5b811ad6b528556bef0e31a37710baff94 (patch)
treec97d9ec729a4362d8f6b528ad2a02afffc8166bf /docs/ref
parent79cc1fa58df17c3d9335a07086111bad8caa2d88 (diff)
[1.6.x] Fixed #22092 -- Documented ResolverMatch.view_name
Backport of 271929dd9d3aa5184cbb13d79b3651ac32e640ea from master.
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/urlresolvers.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/ref/urlresolvers.txt b/docs/ref/urlresolvers.txt
index 7de63c38f9..3467319d2f 100644
--- a/docs/ref/urlresolvers.txt
+++ b/docs/ref/urlresolvers.txt
@@ -146,6 +146,11 @@ If the URL does not resolve, the function raises a
i.e., if the namespace is ``foo:bar``, then namespaces will be
``['foo', 'bar']``.
+ .. attribute:: ResolverMatch.view_name
+
+ The name of the view that matches the URL, including the namespace if
+ there is one.
+
A :class:`ResolverMatch` object can then be interrogated to provide
information about the URL pattern that matches a URL::