Fixed #22092 -- Documented ResolverMatch.view_name

This commit is contained in:
Jochem Oosterveen 2014-02-22 16:25:49 +01:00 committed by Baptiste Mispelon
parent 8cd32f0965
commit 271929dd9d
1 changed files with 5 additions and 0 deletions

View File

@ -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::