#26790: Consistency in normalize_email and normalize_username
--------------------------------------+-----------------------------
Reporter: tam0407 | Owner: tam0407
Type: Cleanup/optimization | Status: new
Component: contrib.auth | Version: 1.10
Severity: Normal | Keywords: normalize_email
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+-----------------------------
In the current code, `normalize_username` is placed in `AbstractBaseUser`,
but `normalize_email` currently stay in `BaseUserManager` for backward-
combatibility.
I suggest we move `normalize_email` logic to `AbstractBaseUser` for
consistency with `normalize_username`, and raise warning for the original
one.
--
Ticket URL: <https://code.djangoproject.com/ticket/26790>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/050.b0a66b0dbdb9b4421df2e209e8e523d5%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.