aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/templates
diff options
context:
space:
mode:
Diffstat (limited to 'debug_toolbar/templates')
-rw-r--r--debug_toolbar/templates/debug_toolbar/panels/settings_vars.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/debug_toolbar/templates/debug_toolbar/panels/settings_vars.html b/debug_toolbar/templates/debug_toolbar/panels/settings_vars.html
new file mode 100644
index 0000000..b139a43
--- /dev/null
+++ b/debug_toolbar/templates/debug_toolbar/panels/settings_vars.html
@@ -0,0 +1,18 @@
+<h3 id="settings-info">Settings</h3>
+<h4>Using settings module <code>{{ settings.SETTINGS_MODULE }}</code></h4>
+<table class="req">
+ <thead>
+ <tr>
+ <th>Setting</th>
+ <th>Value</th>
+ </tr>
+ </thead>
+ <tbody>
+ {% for var in settings.items|dictsort:"0" %}
+ <tr>
+ <td>{{ var.0 }}</td>
+ <td class="code"><div>{{ var.1|pprint }}</div></td>
+ </tr>
+ {% endfor %}
+ </tbody>
+</table> \ No newline at end of file