From 01c8862abd7004ebcdf8aae81c34737cd8dc7e15 Mon Sep 17 00:00:00 2001 From: Julien Phalip Date: Tue, 13 Mar 2012 21:49:48 +0000 Subject: [PATCH] Fixed #17891 -- Documented a small backwards incompatibility in the `password_reset` auth view. Thanks to danfairs and lukegb. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17705 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/releases/1.4.txt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/releases/1.4.txt b/docs/releases/1.4.txt index 393df5401f..c3bbe480ea 100644 --- a/docs/releases/1.4.txt +++ b/docs/releases/1.4.txt @@ -961,6 +961,15 @@ and we enforce protection on everything else. If you're using PUT or DELETE methods in AJAX applications, please see the :ref:`instructions about using AJAX and CSRF `. +Password reset view now accepts ``subject_template_name`` +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +The ``password_reset`` view in ``django.contrib.auth`` now accepts a +``subject_template_name`` parameter, which is passed to the password save form +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. + ``django.core.template_loaders`` ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~