diff --git a/django/core/validators.py b/django/core/validators.py index 55b71a2e41..ebba5e16c2 100644 --- a/django/core/validators.py +++ b/django/core/validators.py @@ -33,7 +33,7 @@ phone_re = re.compile(r'^[A-PR-Y0-9]{3}-[A-PR-Y0-9]{3}-[A-PR-Y0-9]{4}$', re.IGNO slug_re = re.compile(r'^[-\w]+$') url_re = re.compile(r'^https?://\S+$') -lazy_inter = lazy(lambda a,b: str(a) % b, str) +lazy_inter = lazy(lambda a,b: force_unicode(a) % b, unicode) class ValidationError(Exception): def __init__(self, message):