From dab921751d6410d9d1efcbad1819acea435dbd43 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Mon, 8 Jul 2013 15:01:37 -0400 Subject: [PATCH] Fixed #18944 -- Documented PasswordResetForm's from_email argument as a backwards incompatible change for 1.3 Thanks DrMeers for the report. --- docs/releases/1.3.txt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/releases/1.3.txt b/docs/releases/1.3.txt index 45ebb2f1fee..060f099c52a 100644 --- a/docs/releases/1.3.txt +++ b/docs/releases/1.3.txt @@ -650,6 +650,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