Django

Code

Ticket #2186 (closed: fixed)

Opened 2 years ago

Last modified 2 years ago

[patch] password reset mail has broken variable substitution

Reported by: md@hudora.de Assigned to: adrian
Milestone: Component: Contrib apps
Version: SVN Keywords:
Cc: md@hudora.de Triage Stage: Unreviewed
Has patch: 1 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

Description

The variable Substitution in password_reset_email.html does not work as expected. This patch fixes that:

--- django/contrib/admin/templates/registration/password_reset_email.html       (revision 3138)
  -{% trans "for your user account at %(site_name)s" %}.
  +{% blocktrans %}for your user account at {{ site_name}}{% endblocktrans %}.

See http://blogs.23.nu/c0re/stories/12199/ for some further explanation

Attachments

django-20060618-passwordmail.diff (0.8 kB) - added by md@hudora.de on 06/18/06 01:28:38.

Change History

06/18/06 01:28:38 changed by md@hudora.de

  • attachment django-20060618-passwordmail.diff added.

06/18/06 12:32:16 changed by adrian

  • status changed from new to closed.
  • resolution set to fixed.

(In [3140]) Fixed #2186 -- Fixed i18n variable substitution in admin/templates/registration/password_reset_email.html. Thanks, md@hudora.de


Add/Change #2186 ([patch] password reset mail has broken variable substitution)




Change Properties
Action