mirror of
https://github.com/django/django.git
synced 2025-03-15 20:00:46 +00:00
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.
|
||||
|
||||
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…
x
Reference in New Issue
Block a user