diff options
| author | Tim Graham <timograham@gmail.com> | 2013-07-08 15:01:37 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2013-07-08 15:06:45 -0400 |
| commit | 7b7592cafaff9b7b06a4949465bb723541ede40a (patch) | |
| tree | 1413493d1d39ef655e44be8ff9eb858f92df1410 /docs | |
| parent | 165cc1dc2f1cda87f7da65e8a6483318d3ca12be (diff) | |
[1.4.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
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/1.3.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/releases/1.3.txt b/docs/releases/1.3.txt index 3dc90affca..8ac6d143ba 100644 --- a/docs/releases/1.3.txt +++ b/docs/releases/1.3.txt @@ -653,6 +653,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 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: Features deprecated in 1.3 |
