mirror of
https://github.com/django/django.git
synced 2024-11-30 07:06:18 +01:00
Removed u prefix on a unicode string.
This commit is contained in:
parent
1af0271d7c
commit
4ceb9db9d8
@ -167,7 +167,7 @@ class LocaleRegexProvider(object):
|
||||
compiled_regex = re.compile(regex, re.UNICODE)
|
||||
except re.error, e:
|
||||
raise ImproperlyConfigured(
|
||||
u'"%s" is not a valid regular expression: %s' %
|
||||
'"%s" is not a valid regular expression: %s' %
|
||||
(regex, unicode(e)))
|
||||
|
||||
self._regex_dict[language_code] = compiled_regex
|
||||
|
Loading…
Reference in New Issue
Block a user