summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/validators.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/validators.txt b/docs/ref/validators.txt
index 59eef7b35e..39b712695e 100644
--- a/docs/ref/validators.txt
+++ b/docs/ref/validators.txt
@@ -133,8 +133,8 @@ to, or in lieu of custom ``field.clean()`` methods.
:param code: If not ``None``, overrides :attr:`code`.
:param allowlist: If not ``None``, overrides :attr:`allowlist`.
- An :class:`EmailValidator` ensures that a value looks like an email, and
- raises a :exc:`~django.core.exceptions.ValidationError` with
+ An :class:`EmailValidator` ensures that a value looks like an email
+ address, and raises a :exc:`~django.core.exceptions.ValidationError` with
:attr:`message` and :attr:`code` if it doesn't. Values longer than 320
characters are always considered invalid.