summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJochem Oosterveen <jochem@oosterveen.net>2014-02-22 16:25:49 +0100
committerBaptiste Mispelon <bmispelon@gmail.com>2014-02-22 18:31:40 +0100
commit271929dd9d3aa5184cbb13d79b3651ac32e640ea (patch)
tree233566792b6ca15c5fb56c8770060c1381f60f4e /docs
parent8cd32f09659cc271050a62b978f244b8a3445315 (diff)
Fixed #22092 -- Documented ResolverMatch.view_name
Diffstat (limited to 'docs')
-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 32b3ce6fc8..f0b8466ca0 100644
--- a/docs/ref/urlresolvers.txt
+++ b/docs/ref/urlresolvers.txt
@@ -143,6 +143,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::