Ticket #17899: t17899.diff
File t17899.diff, 438 bytes (added by , 13 years ago) |
---|
-
django/forms/fields.py
diff --git a/django/forms/fields.py b/django/forms/fields.py index 96ecabf..0f5b0c5 100644
a b class RegexField(CharField): 471 471 472 472 class EmailField(CharField): 473 473 default_error_messages = { 474 'invalid': _(u'Enter a valid e -mail address.'),474 'invalid': _(u'Enter a valid email address.'), 475 475 } 476 476 default_validators = [validators.validate_email] 477 477