1
0
mirror of https://github.com/django/django.git synced 2025-02-28 11:34:28 +00:00

Fixed #19056 -- Ensure admin change password template doesn't rely on username attribute.

This commit is contained in:
Russell Keith-Magee 2012-10-02 16:04:12 +08:00
parent 030b55393e
commit 4c75344cc1

View File

@ -28,7 +28,7 @@
</p>
{% endif %}
<p>{% blocktrans with username=original.username %}Enter a new password for the user <strong>{{ username }}</strong>.{% endblocktrans %}</p>
<p>{% blocktrans with username=original %}Enter a new password for the user <strong>{{ username }}</strong>.{% endblocktrans %}</p>
<fieldset class="module aligned">