﻿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
7931	Debug mode causes template includes to be parsed regardless of if tags	hmurray@…	nobody	"When running django in debug mode, django appears to parse all template include tags, even if an include tag will never be included.  For example:

{% if condition %}
	{% include ""template_that_will_crash_if_condition_is_false.html"" %}			
{% endif %}

In DEBUG mode, errors (i.e. loading template tags) in the included template will be thrown, even if the template is never actually included because of the if condition.  If debug is not enabled, then no errors are thrown.

The result should be the same whether in debug mode or not."		closed	Template system	dev		invalid	template debug include tags		Design decision needed	0	0	0	0	0	0
