﻿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
34230	Django templates shouldn't use a .html extension	Amin Shah Gilani	nobody	"Hello,

Only my second time filing a ticket so please go easy on me.

Django's templates use a `.html` file extension. This is incorrect and causes issues:

* The files aren't HTML, they're template files
* Linters associated with `.html` extensions expect HTML and will attempt to format them
* Tools that calculate metrics associated with HTML files won't recognize that the files aren't HTML

Ruby/Rails gets around this issue by using the `.html.erb` (Embedded Ruby) extension, and there are comparable examples in other ecosystems like the `.html.ejs` (Embedded JavaScript) templating language.

I believe Django can get around this with a similar terminating extension, e.g. `.html.dtl` (Django Templating), or `.html.django`, or even `.html.djgo`.

Adopting an extension for the templating language will make things easier out of the box."	Uncategorized	closed	Template system	4.1	Normal	invalid	django-		Unreviewed	0	0	0	0	0	0
