#36457: Convert methods .send_mail(), .get_users() from PasswordResetForm and
.get_user() from PasswordResetConfirmView into functions.
-------------------------------------+-------------------------------------
Reporter: keter2002 | Type:
| Cleanup/optimization
Status: new | Component:
| contrib.auth
Version: dev | Severity: Normal
Keywords: users, email, | Triage Stage:
PasswordResetForm, | Unreviewed
PasswordResetConfirmView, auth, |
method, id |
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
The methods .send_mail(), .get_users() from PasswordResetForm and
.get_user() from PasswordResetConfirmView could be reused in other views
and forms to list all active users with a given e-mail, send a formatted
e-mail, or get a user by their base64 id.
--
Ticket URL: <
https://code.djangoproject.com/ticket/36457>
Django <
https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.