﻿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
35789	Improve non-first {% extends %} error message	Adam Johnson	Ekin Ertaç	"Currently if you put `{% extends %}` after another tag, the error looks like:

{{{
TemplateSyntaxError: <ExtendsNode: extends 'base.html'> must be the first tag in the template.
}}}

`ExtendsNode` is a leaked internal detail. Showing its repr() is a bit confusing, especially for a beginner programmer.

The message would be clearer if it showed the actual text of the tag:

{{{
TemplateSyntaxError: {% extends 'base.html' %} must be the first tag in the template.
}}}
"	Cleanup/optimization	closed	Template system	dev	Normal	fixed			Ready for checkin	1	0	0	0	1	0
