aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/templates
diff options
context:
space:
mode:
authorJannis Leidel2012-03-31 21:29:47 +0200
committerJannis Leidel2012-03-31 21:29:47 +0200
commitfaf0645551435370399f18b4ace56e3535671b21 (patch)
treeb13ae4015279805818c25b9c2e3aa15a342b9166 /debug_toolbar/templates
parent6c05d8d1ccee3e01361dab49b166d362665ff957 (diff)
downloaddjango-debug-toolbar-faf0645551435370399f18b4ace56e3535671b21.tar.bz2
Made sure the list of settings are sorted alphabetically. Fixes #265.
Diffstat (limited to 'debug_toolbar/templates')
-rw-r--r--debug_toolbar/templates/debug_toolbar/panels/settings_vars.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/debug_toolbar/templates/debug_toolbar/panels/settings_vars.html b/debug_toolbar/templates/debug_toolbar/panels/settings_vars.html
index 99c43b6..f6b5afe 100644
--- a/debug_toolbar/templates/debug_toolbar/panels/settings_vars.html
+++ b/debug_toolbar/templates/debug_toolbar/panels/settings_vars.html
@@ -7,10 +7,10 @@
</tr>
</thead>
<tbody>
- {% for var in settings.items|dictsort:"0" %}
+ {% for name, value in settings.items %}
<tr class="{% cycle 'djDebugOdd' 'djDebugEven' %}">
- <td>{{ var.0 }}</td>
- <td><code>{{ var.1|pprint }}</code></td>
+ <td>{{ name }}</td>
+ <td><code>{{ value|pprint }}</code></td>
</tr>
{% endfor %}
</tbody>