Refs #28593 -- Updated old class names in comments following URL routing changes.

This commit is contained in:
Andrei Fokau 2017-11-08 14:43:39 +01:00 committed by Tim Graham
parent 0cf00769ad
commit 3ae9c356c5
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ def i18n_patterns(*urls, prefix_default_language=True):
def is_language_prefix_patterns_used(urlconf):
"""
Return a tuple of two booleans: (
`True` if LocaleRegexURLResolver` is used in the `urlconf`,
`True` if i18n_patterns() (LocalePrefixPattern) is used in the URLconf,
`True` if the default language should be prefixed
)
"""

View File

@ -1,7 +1,7 @@
"""
This module converts requested URLs to callback view functions.
RegexURLResolver is the main class here. Its resolve() method takes a URL (as
URLResolver is the main class here. Its resolve() method takes a URL (as
a string) and returns a ResolverMatch object which provides access to all
attributes of the resolved URL match.
"""