Ticket #2186: django-20060618-passwordmail.diff
File django-20060618-passwordmail.diff, 849 bytes (added by , 18 years ago) |
---|
-
django/contrib/admin/templates/registration/password_reset_email.html
This patch fixes variable substitution in "Your new Password" mails in Django - without it users get the string "%(site_name)s" in their email. --Maximillian Dornseif
1 1 {% load i18n %} 2 2 {% trans "You're receiving this e-mail because you requested a password reset" %} 3 3 -{% trans "for your user account at %(site_name)s" %}. 4 4 +{% blocktrans %}for your user account at {{ site_name}}{% endblocktrans %}. 5 5 6 6 {% blocktrans %}Your new password is: {{ new_password }}{% endblocktrans %}