Permalink
Browse files

Fixed #22092 -- Documented ResolverMatch.view_name

  • Loading branch information...
1 parent 8cd32f0 commit 271929dd9d3aa5184cbb13d79b3651ac32e640ea @jochem jochem committed with bmispelon Feb 22, 2014
Showing with 5 additions and 0 deletions.
  1. +5 −0 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::

0 comments on commit 271929d

Please sign in to comment.