Ticket #2186: django-20060618-passwordmail.diff

File django-20060618-passwordmail.diff, 849 bytes (added by md@…, 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
    
     
    11{% load i18n %}
    22 {% trans "You're receiving this e-mail because you requested a password reset" %}
    33 -{% trans "for your user account at %(site_name)s" %}.
    44 +{% blocktrans %}for your user account at {{ site_name}}{% endblocktrans %}.
    55 
    66   {% blocktrans %}Your new password is: {{ new_password }}{% endblocktrans %}
Back to Top