diff options
| author | Matt Deacalion Stevens <matt@dirtymonkey.co.uk> | 2015-09-21 15:50:55 +0100 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-09-21 13:59:17 -0400 |
| commit | c07f9fef398a21a76d350e8b02b396b3e580b751 (patch) | |
| tree | f361aae051c2a05e8de1d31ecedc42f8f29b7f39 | |
| parent | fcf494b48fea7c0c55ea29721ba0b2d250351ff8 (diff) | |
Corrected docstring in core.urlresolvers module.
The RegexURLResolver.resolve() method no longer returns a tuple.
It has returned a ResolverMatch object since commit e0fb90b2.
| -rw-r--r-- | django/core/urlresolvers.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/django/core/urlresolvers.py b/django/core/urlresolvers.py index 3554878865..1355f29f3c 100644 --- a/django/core/urlresolvers.py +++ b/django/core/urlresolvers.py @@ -2,9 +2,8 @@ This module converts requested URLs to callback view functions. RegexURLResolver is the main class here. Its resolve() method takes a URL (as -a string) and returns a tuple in this format: - - (view_function, function_args, function_kwargs) +a string) and returns a ResolverMatch object which provides access to all +attributes of the resolved URL match. """ from __future__ import unicode_literals |
