mirror of
https://github.com/django/django.git
synced 2025-04-01 03:56:42 +00:00
[1.5.x] Fixed #18944 -- Documented PasswordResetForm's from_email argument as a backwards incompatible change for 1.3
Thanks DrMeers for the report. Backport of dab921751d from master
This commit is contained in:
parent
5567dc68e6
commit
0a91a8dbe3
@ -652,6 +652,15 @@ Prior to Django 1.3, inactive users were able to request a password reset email
|
|||||||
and reset their password. In Django 1.3 inactive users will receive the same
|
and reset their password. In Django 1.3 inactive users will receive the same
|
||||||
message as a nonexistent account.
|
message as a nonexistent account.
|
||||||
|
|
||||||
|
Password reset view now accepts ``from_email``
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
The :func:`django.contrib.auth.views.password_reset` view now accepts a
|
||||||
|
``from_email`` parameter, which is passed to the ``password_reset_form``'s
|
||||||
|
``save()`` method as a keyword argument. If you are using this view with a
|
||||||
|
custom password reset form, then you will need to ensure your form's ``save()``
|
||||||
|
method accepts this keyword argument.
|
||||||
|
|
||||||
.. _deprecated-features-1.3:
|
.. _deprecated-features-1.3:
|
||||||
|
|
||||||
Features deprecated in 1.3
|
Features deprecated in 1.3
|
||||||
|
Loading…
x
Reference in New Issue
Block a user