Fixed #4833 -- Validate email addresses with localhost as domain

This commit is contained in:
Claude Paroz 2013-01-11 20:42:33 +01:00
parent 1bbd36a36a
commit 4e2e8f39d1
3 changed files with 47 additions and 22 deletions

View file

@ -96,7 +96,7 @@ to, or in lieu of custom ``field.clean()`` methods.
------------------
.. data:: validate_email
A :class:`RegexValidator` instance that ensures a value looks like an
An ``EmailValidator`` instance that ensures a value looks like an
email address.
``validate_slug``