Ticket #17891: 17891.patch

File 17891.patch, 870 bytes (added by lukegb, 3 years ago)

Uploaded patch from https://github.com/danfairs/django/commit/08a697d8efad87690817c71714ce25547f2e2996.diff here, just in case

  • docs/releases/1.4.txt

    diff --git a/docs/releases/1.4.txt b/docs/releases/1.4.txt
    index 393df54..c3bbe48 100644
    a b and we enforce protection on everything else. 
    961961If you're using PUT or DELETE methods in AJAX applications, please see the
    962962:ref:`instructions about using AJAX and CSRF <csrf-ajax>`.
    963963
     964Password reset view now accepts ``subject_template_name``
     965~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     966
     967The ``password_reset`` view in ``django.contrib.auth`` now accepts a
     968``subject_template_name`` parameter, which is passed to the password save form
     969as a keyword argument. If you are using this view with a custom password reset
     970form, then you will need to ensure your form's ``save()`` method accepts this
     971keyword argument.
     972
    964973``django.core.template_loaders``
    965974~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    966975
Back to Top