In `auth/user/change_password.html` there is a condition that checks
existence of id_for_label for password1 field, the `{% endif %}` is closed
in the wrong position and if the condition return False, the HTML will be
corrupted (I'm not sure if it's possible to make the condition falsy)
--
Ticket URL: <https://code.djangoproject.com/ticket/34656>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* cc: David Smith (added)
* easy: 0 => 1
* stage: Unreviewed => Accepted
Comment:
Thanks for the report. Regression in
6991880109e35c879b71b7d9d9c154baeec12b89.
Would you like to prepare a patch?
--
Ticket URL: <https://code.djangoproject.com/ticket/34656#comment:1>
* owner: myself => Yaser Amiri
--
Ticket URL: <https://code.djangoproject.com/ticket/34656#comment:2>
* has_patch: 0 => 1
* needs_tests: 0 => 1
Comment:
[https://github.com/django/django/pull/16982 PR]
--
Ticket URL: <https://code.djangoproject.com/ticket/34656#comment:3>
* needs_tests: 1 => 0
* stage: Accepted => Ready for checkin
--
Ticket URL: <https://code.djangoproject.com/ticket/34656#comment:4>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"3f1bc2222feeaeaeaa97ba221b7d6e41962162e7" 3f1bc222]:
{{{
#!CommitTicketReference repository=""
revision="3f1bc2222feeaeaeaa97ba221b7d6e41962162e7"
Fixed #34656 -- Fixed unclosed div in admin password change template.
Regression in 6991880109e35c879b71b7d9d9c154baeec12b89.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/34656#comment:5>