diff options
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/urlresolvers.txt | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/docs/ref/urlresolvers.txt b/docs/ref/urlresolvers.txt index d39345b478..2bde4d73ea 100644 --- a/docs/ref/urlresolvers.txt +++ b/docs/ref/urlresolvers.txt @@ -123,9 +123,24 @@ If the URL does not resolve, the function raises a .. attribute:: ResolverMatch.kwargs - The keyword arguments that would be passed to the view + All keyword arguments that would be passed to the view function, i.e. + :attr:`~ResolverMatch.captured_kwargs` and + :attr:`~ResolverMatch.extra_kwargs`. + + .. attribute:: ResolverMatch.captured_kwargs + + .. versionadded:: 4.1 + + The captured keyword arguments that would be passed to the view function, as parsed from the URL. + .. attribute:: ResolverMatch.extra_kwargs + + .. versionadded:: 4.1 + + The additional keyword arguments that would be passed to the view + function. + .. attribute:: ResolverMatch.url_name The name of the URL pattern that matches the URL. |
