Why cannot template tags be used for password reset email notification template file?
Hi,
I have customized template string tags such as {{ org_name }} and {{ account_email }} which work fine for most of email template files and html files, but the tags {{ org_name }} and {{ account_email }} could not work with password reset email template. The django/contrib/auth/forms.py defined several arguments for password reset, such as domain, site_name, user and email. I can override the domain by "domain_override", but I cannot add the tags to it. How can I make the {{ org_name }} and {{ account_email }} tags working with my password reset email template file password_reset_email.html?
Thank you.
jupiter
-- I have customized template string tags such as {{ org_name }} and {{ account_email }} which work fine for most of email template files and html files, but the tags {{ org_name }} and {{ account_email }} could not work with password reset email template. The django/contrib/auth/forms.py defined several arguments for password reset, such as domain, site_name, user and email. I can override the domain by "domain_override", but I cannot add the tags to it. How can I make the {{ org_name }} and {{ account_email }} tags working with my password reset email template file password_reset_email.html?
Thank you.
jupiter
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home