aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar
diff options
context:
space:
mode:
Diffstat (limited to 'debug_toolbar')
-rw-r--r--debug_toolbar/panels/template.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/debug_toolbar/panels/template.py b/debug_toolbar/panels/template.py
index e4531c1..f6226c4 100644
--- a/debug_toolbar/panels/template.py
+++ b/debug_toolbar/panels/template.py
@@ -93,6 +93,9 @@ class TemplateDebugPanel(DebugPanel):
# data is already made available from the SQL panel.
elif key == 'sql_queries' and isinstance(value, list):
context_layer[key] = '<<sql_queries>>'
+ # Replace LANGUAGES, which is available in i18n context processor
+ elif key == 'LANGUAGES' and isinstance(value, tuple):
+ context_layer[key] = '<<languages>>'
try:
context_list.append(pformat(context_layer))
except UnicodeEncodeError: