﻿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
11175	Automatic template inheritance	Denis Martinez <deuns.martinez@…>	nobody	"Sometimes I have templates in my framework that I would like to override (Satchmo for example).

So I copy the .html in my template directory.
The drawback is that I can't create a template.html in my project and extend with {% extends ""template.html"" %}, because that would mean recursive includes.

Copying is bad for maintainability and it duplicates template code. So I suggest a templatetag {% autoextends %} that would search the next template directories for a template to extend, with the same filename. Like so:

base_template/index.html:
{{{
{% block test %}Test{% endblock %}
}}}

derived_template/index.html:
{{{
{% autoextends %}
{% block test %}{{block.super}}. It works!{% endblock %}
}}}"		closed	Uncategorized	1.0		wontfix			Unreviewed	0	0	0	0	0	0
