diff options
| author | Marten Kenbeek <marten.knbk@gmail.com> | 2015-06-03 19:12:27 +0200 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-06-06 10:44:43 -0400 |
| commit | bc77eb6d0858652e197c08c299efaeb06c51efee (patch) | |
| tree | c01aad656993d0681f6a3806a79a88443bc083ae /docs/ref | |
| parent | 1ea87c8c7974acb5fa795362253c61b38f3cb137 (diff) | |
Fixed #24906 -- Fixed ResolverMatch.app_name for nested namespaces.
Set ResolverMatch.app_name to the full path of nested application
namespaces.
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/urlresolvers.txt | 9 |
1 files changed, 9 insertions, 0 deletions
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 |
