diff --git a/django/contrib/admin/templates/registration/password_reset_email.html b/django/contrib/admin/templates/registration/password_reset_email.html index b9a0257392c..b7f31e484c6 100644 --- a/django/contrib/admin/templates/registration/password_reset_email.html +++ b/django/contrib/admin/templates/registration/password_reset_email.html @@ -2,7 +2,7 @@ {% trans "You're receiving this e-mail because you requested a password reset" %} {% trans "for your user account at %(site_name)s" %}. -{% trans "Your new password is: %(new_password)s" %} +{% blocktrans %}Your new password is: {{ new_password }}{% endblocktrans %} {% trans "Feel free to change this password by going to this page:" %} @@ -12,4 +12,4 @@ http://{{ domain }}/password_change/ {% trans "Thanks for using our site!" %} -{% trans "The %(site_name)s team" %} +{% blocktrans %}The {{ site_name }} team{% endblocktrans %}