Corrected docstring in core.urlresolvers module.
The RegexURLResolver.resolve() method no longer returns a tuple.
It has returned a ResolverMatch object since commit e0fb90b2
.
This commit is contained in:
parent
fcf494b48f
commit
c07f9fef39
|
@ -2,9 +2,8 @@
|
||||||
This module converts requested URLs to callback view functions.
|
This module converts requested URLs to callback view functions.
|
||||||
|
|
||||||
RegexURLResolver is the main class here. Its resolve() method takes a URL (as
|
RegexURLResolver is the main class here. Its resolve() method takes a URL (as
|
||||||
a string) and returns a tuple in this format:
|
a string) and returns a ResolverMatch object which provides access to all
|
||||||
|
attributes of the resolved URL match.
|
||||||
(view_function, function_args, function_kwargs)
|
|
||||||
"""
|
"""
|
||||||
from __future__ import unicode_literals
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue