diff --git a/django/core/validators.py b/django/core/validators.py index 17cf4cd6cf..070d6fc40b 100644 --- a/django/core/validators.py +++ b/django/core/validators.py @@ -204,7 +204,7 @@ class EmailValidator: self.domain_allowlist = allowlist def __call__(self, value): - # The maximum length of an email is 254 characters per RFC 5321 + # The maximum length of an email is 254 characters per RFC 5321/5322 # section 3. if not value or "@" not in value or len(value) > 254: raise ValidationError(self.message, code=self.code, params={"value": value})