﻿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
7321	Rendering of file in the {% include %} Tag in Template doesnt work if the block defined in the base template is not included in the final template being rendered	ashutoshb@…	nobody	"http://dpaste.com/53430/ (Doesnt Work)

http://dpaste.com/53434/ (Works)

'''Doesnt Work (Show Me is NOT rendered in the page displayed)'''


base.html

<body>
{% block overwrite %}
{% endblock overwrite %}
</body>
[[BR]]
[[BR]]


file_to_be_included.html

{% block overwrite %}
<p>Show Me</p>
{% endblock %}
[[BR]]
[[BR]]


file_rendered_to_response.html

{% extends base.html %}

{% include 'file_to_be_included.html' %}
[[BR]]
[[BR]]






'''Works (Show Me is Rendered in the page displayed)'''


base.html

<body>
{% block overwrite %}
{% endblock %}
</body>
[[BR]]
[[BR]]


file_to_be_included.html

<p>Show Me</p>
[[BR]]
[[BR]]


file_rendered_to_response.html

{% extends base.html %}
{% block overwrite %}
{% include 'file_to_be_included.html' %}
{% endblock %}
"		closed	Template system	dev		invalid	Include Tag		Unreviewed	0	0	0	0	0	0
