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
This commit is contained in:
Julien Phalip 2012-03-13 21:49:48 +00:00
parent 3dc946e49e
commit 01c8862abd
1 changed files with 9 additions and 0 deletions

View File

@ -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 <csrf-ajax>`.
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``
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~