From 271929dd9d3aa5184cbb13d79b3651ac32e640ea Mon Sep 17 00:00:00 2001 From: Jochem Oosterveen Date: Sat, 22 Feb 2014 16:25:49 +0100 Subject: [PATCH] Fixed #22092 -- Documented ResolverMatch.view_name --- docs/ref/urlresolvers.txt | 5 +++++ 1 file changed, 5 insertions(+) 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::