﻿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
6646	included template blocks are not being overrided by parent template.	anonymous	nobody	"When including a template into a parent template, the child-template's blocks are not overridden by the parent.

For example:

base.html
{% if is_satchmo %}
{% include ""satchmo_base.html"" %}
{% else %}
{% include ""journal_base.html"" %}
{% endif %}

journal_base.html contains the following block:
{% block content%}{% endblock %}

view_template.html extends base.html (with the context variable is_satchmo == False).  view_template.html contains {% block content%}{% endblock %} which should filled with data from the view's context variable.

If I rename journal_base.html to base.html - everything works fine - but when I use the version of base.html that relies on the include tag, {% block content %} doesn't get overridden.

The documentation says that context vairables are available to included templates, so not being able to override blocks seems like a bug.
"		new	Template system	dev			include, extends, block		Unreviewed	0	0	0	0		
