[1.8.x] Corrected docstring in core.urlresolvers module.
The RegexURLResolver.resolve() method no longer returns a tuple. It has returned a ResolverMatch object since commite0fb90b2
. Backport ofc07f9fef39
from master
This commit is contained in:
parent
63147dfa07
commit
5023d63f85
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue