From d74431411b5c390379bcac89a60628a26365d8c9 Mon Sep 17 00:00:00 2001 From: Jannis Leidel Date: Wed, 24 Sep 2008 12:40:02 +0200 Subject: Added context processors to TemplateDebugPanel --- .../templates/debug_toolbar/panels/templates.html | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'debug_toolbar/templates') diff --git a/debug_toolbar/templates/debug_toolbar/panels/templates.html b/debug_toolbar/templates/debug_toolbar/panels/templates.html index 575d507..e878be2 100644 --- a/debug_toolbar/templates/debug_toolbar/panels/templates.html +++ b/debug_toolbar/templates/debug_toolbar/panels/templates.html @@ -23,3 +23,17 @@ {% else %} None {% endif %} +{% if context_processors %} +

Context processors used:

+
+{% for key, value in context_processors.iteritems %} +
{{ key|escape }}
+
+ + +
+{% endfor %} +
+{% else %} + None +{% endif %} -- cgit v1.2.3