﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
30837	Changing password reset email template name to .txt extension	Thijs Baaijen	nobody	"Hi there,

A minor issue that's been bothering me.
I'd like to make a case to change the default value of email_template_name of the PasswordResetView from 
{{{
'registration/password_reset_email.html'
}}}
to
{{{
'registration/password_reset_email.txt'
}}}

Reason:
The extension "".html"" seems to indicate that an html email is being sent, while it is actually a text email. I think this is confusing, especially to new developers. It makes you think at first that the email being sent wil be rendered to html, until you realize that you need to specify html_email_template_name for that.


Solutions:
If you'll agree, I've created a pull request for this tiny code change.

I can also see that changing this value now will cause a TemplateDoesNotExist error on existing installations.
Therefore I've created another pull request that fallsback to the .html variant if the template results in a TemplateDoesNotExist error.

Please let me know what you think of my proposed solutions.

Cheers,

Thijs"	Cleanup/optimization	assigned	contrib.auth	dev	Normal				Unreviewed	1	0	0	0	0	0
