diff options
| author | Andrei Fokau <andrei.fokau@neutron.kth.se> | 2017-11-08 14:43:39 +0100 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-11-08 08:44:10 -0500 |
| commit | a977ae91390b603c27fc4b5f3e8d3e4eea3dce1f (patch) | |
| tree | 4c24c45943eaf059b33ccb38344e5a962ebbd404 | |
| parent | c869207ea29822c81d5a242a1e401135d813a96c (diff) | |
[2.0.x] Refs #28593 -- Updated old class names in comments following URL routing changes.
Backport of 3ae9c356c5d4b89caf8343aa3ffe0a66e713c9fd from master
| -rw-r--r-- | django/conf/urls/i18n.py | 2 | ||||
| -rw-r--r-- | django/urls/resolvers.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/django/conf/urls/i18n.py b/django/conf/urls/i18n.py index 325cc9e60e..256c247491 100644 --- a/django/conf/urls/i18n.py +++ b/django/conf/urls/i18n.py @@ -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 ) """ diff --git a/django/urls/resolvers.py b/django/urls/resolvers.py index a713067c4d..a1ce7154a7 100644 --- a/django/urls/resolvers.py +++ b/django/urls/resolvers.py @@ -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. """ |
