Skip to content
Browse files

Removed u prefix on a unicode string.

  • Loading branch information...
1 parent 1af0271 commit 4ceb9db9d849905720a1c958a5f8629753ef6604 @aaugustin aaugustin committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/core/
2 django/core/
@@ -167,7 +167,7 @@ def regex(self):
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

2 comments on commit 4ceb9db


Because retired?

Django member

@gilsondev the module import unicode_literals.

Please sign in to comment.
Something went wrong with that request. Please try again.