From bc77eb6d0858652e197c08c299efaeb06c51efee Mon Sep 17 00:00:00 2001 From: Marten Kenbeek Date: Wed, 3 Jun 2015 19:12:27 +0200 Subject: Fixed #24906 -- Fixed ResolverMatch.app_name for nested namespaces. Set ResolverMatch.app_name to the full path of nested application namespaces. --- docs/ref/urlresolvers.txt | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'docs/ref') diff --git a/docs/ref/urlresolvers.txt b/docs/ref/urlresolvers.txt index 79c219a8d8..60a6192a90 100644 --- a/docs/ref/urlresolvers.txt +++ b/docs/ref/urlresolvers.txt @@ -155,6 +155,15 @@ If the URL does not resolve, the function raises a The application namespace for the URL pattern that matches the URL. + .. attribute:: ResolverMatch.app_names + + .. versionadded:: 1.9 + + The list of individual namespace components in the full + application namespace for the URL pattern that matches the URL. + For example, if the ``app_name`` is ``'foo:bar'``, then ``app_names`` + will be ``['foo', 'bar']``. + .. attribute:: ResolverMatch.namespace The instance namespace for the URL pattern that matches the -- cgit v1.3