summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
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::