diff options
Diffstat (limited to 'debug_toolbar/templates')
| -rw-r--r-- | debug_toolbar/templates/debug_toolbar/panels/templates.html | 21 | 
1 files changed, 21 insertions, 0 deletions
diff --git a/debug_toolbar/templates/debug_toolbar/panels/templates.html b/debug_toolbar/templates/debug_toolbar/panels/templates.html new file mode 100644 index 0000000..58904be --- /dev/null +++ b/debug_toolbar/templates/debug_toolbar/panels/templates.html @@ -0,0 +1,21 @@ +<h3>Template path(s):</h3> +{% if template_dirs %} +	<ol> +	{% for template in template_dirs %} +		<li>{{ template }}</li> +	{% endfor %} +	</ol> +{% else %} +	None +{% endif %} +<h3>Templates Used</h3> +{% if templates %} +<dl> +{% for template in templates %} +	<dt><strong>{{ template.0 }}</strong></dt> +	<dd><samp>{{ template.1 }}</samp></dd> +{% endfor %} +</dl> +{% else %} +	None +{% endif %}
\ No newline at end of file  | 
