Changes between Version 2 and Version 3 of Ticket #31960
- Timestamp:
- Aug 28, 2020, 11:09:25 AM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #31960 – Description
v2 v3 1 Currently, Django makes it seem that using an EmailField / EmailValidator will protect projects from getting invalid emails in their database , for example: emails starting with a dot like ".foo@bar.com" will be invalid as expected.1 Currently, Django makes it seem that using an EmailField / EmailValidator will protect projects from getting invalid emails in their database. 2 2 3 3 But in reality, users must not count on Django for that: … … 13 13 14 14 It would be only fair to users to document that the EmailValidator will let invalid emails through, which will be the cause of SMTPError, and that people who don't want invalid emails in their EmailField must override and fix Django's default behaviour. 15 16 As to why EmailValidator would reject emails starting with a dot like ".foo@bar.com" but not emails starting with a hyphen "-foo@bar.com": this will remain a mystery.