mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #17431 -- Added send_mail() method to PasswordResetForm.
Credits for the initial patch go to ejucovy; big thanks to Tim Graham for the review.
This commit is contained in:
committed by
Tim Graham
parent
d8f19bb3b6
commit
a00b78b1e2
@@ -41,6 +41,9 @@ Minor features
|
||||
:meth:`~django.contrib.auth.models.User.has_perm`
|
||||
and :meth:`~django.contrib.auth.models.User.has_module_perms`
|
||||
to short-circuit permission checking.
|
||||
* :class:`~django.contrib.auth.forms.PasswordResetForm` now
|
||||
has a method :meth:`~django.contrib.auth.forms.PasswordResetForm.send_email`
|
||||
that can be overridden to customize the mail to be sent.
|
||||
|
||||
:mod:`django.contrib.formtools`
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
Reference in New Issue
Block a user