diff options
Diffstat (limited to 'debug_toolbar/templates')
| -rw-r--r-- | debug_toolbar/templates/debug_toolbar/panels/settings_vars.html | 17 |
1 files changed, 17 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..f1e6684 --- /dev/null +++ b/debug_toolbar/templates/debug_toolbar/panels/settings_vars.html @@ -0,0 +1,17 @@ +<h3>Settings from <code>{{ settings.SETTINGS_MODULE }}</code></h3> +<table> + <thead> + <tr> + <th>Setting</th> + <th>Value</th> + </tr> + </thead> + <tbody> + {% for var in settings.items|dictsort:"0" %} + <tr> + <td>{{ var.0 }}</td> + <td><code>{{ var.1|pprint }}</code></td> + </tr> + {% endfor %} + </tbody> +</table> |
