diff options
| author | Claude Paroz <claude@2xlibre.net> | 2013-03-14 16:19:59 +0100 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2013-03-14 17:03:43 +0100 |
| commit | 2f121dfe635b3f497fe1fe03bc8eb97cdf5083b3 (patch) | |
| tree | d858b3ac2a6ee0beb52a079e98ac065dc0253834 /django/core | |
| parent | 34d098665d9423c0b70add5b8c8231fff9d0f774 (diff) | |
Fixed #17051 -- Removed some 'invalid' field error messages
When the 'invalid' error message is set at field level, it masks
the error message raised by the validator, if any.
Diffstat (limited to 'django/core')
| -rw-r--r-- | django/core/validators.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/core/validators.py b/django/core/validators.py index 3067b551da..d0b713be32 100644 --- a/django/core/validators.py +++ b/django/core/validators.py @@ -80,7 +80,7 @@ def validate_integer(value): class EmailValidator(object): - message = _('Enter a valid e-mail address.') + message = _('Enter a valid email address.') code = 'invalid' user_regex = re.compile( r"(^[-!#$%&'*+/=?^_`{}|~0-9A-Z]+(\.[-!#$%&'*+/=?^_`{}|~0-9A-Z]+)*$" # dot-atom |
