diff options
Diffstat (limited to 'debug_toolbar/templates')
4 files changed, 6 insertions, 6 deletions
diff --git a/debug_toolbar/templates/debug_toolbar/panels/cache.html b/debug_toolbar/templates/debug_toolbar/panels/cache.html index 889177a..95794d5 100644 --- a/debug_toolbar/templates/debug_toolbar/panels/cache.html +++ b/debug_toolbar/templates/debug_toolbar/panels/cache.html @@ -22,14 +22,14 @@ <table> <thead> <tr> - {% for name in counts.iterkeys %} + {% for name in counts.keys %} <th>{{ name }}</th> {% endfor %} </tr> </thead> <tbody> <tr> - {% for value in counts.itervalues %} + {% for value in counts.values %} <td>{{ value }}</td> {% endfor %} </tr> @@ -66,4 +66,4 @@ {% endfor %} </tbody> </table> -{% endif %}
\ No newline at end of file +{% endif %} diff --git a/debug_toolbar/templates/debug_toolbar/panels/headers.html b/debug_toolbar/templates/debug_toolbar/panels/headers.html index f251056..981b847 100644 --- a/debug_toolbar/templates/debug_toolbar/panels/headers.html +++ b/debug_toolbar/templates/debug_toolbar/panels/headers.html @@ -7,7 +7,7 @@ </tr> </thead> <tbody> - {% for key, value in headers.iteritems %} + {% for key, value in headers.items %} <tr class="{% cycle 'djDebugOdd' 'djDebugEven' %}"> <td>{{ key|escape }}</td> <td>{{ value|escape }}</td> diff --git a/debug_toolbar/templates/debug_toolbar/panels/templates.html b/debug_toolbar/templates/debug_toolbar/panels/templates.html index bde09a9..7e44a46 100644 --- a/debug_toolbar/templates/debug_toolbar/panels/templates.html +++ b/debug_toolbar/templates/debug_toolbar/panels/templates.html @@ -31,7 +31,7 @@ <h4>{% blocktrans count context_processors|length as context_processors_count %}Context processor{% plural %}Context processors{% endblocktrans %}</h4> {% if context_processors %} <dl> -{% for key, value in context_processors.iteritems %} +{% for key, value in context_processors.items %} <dt><strong>{{ key|escape }}</strong></dt> <dd> <div class="djTemplateShowContextDiv"><a class="djTemplateShowContext"><span class="toggleArrow">▶</span> {% trans 'Toggle Context' %}</a></div> diff --git a/debug_toolbar/templates/debug_toolbar/panels/versions.html b/debug_toolbar/templates/debug_toolbar/panels/versions.html index 283d052..2c614f1 100644 --- a/debug_toolbar/templates/debug_toolbar/panels/versions.html +++ b/debug_toolbar/templates/debug_toolbar/panels/versions.html @@ -7,7 +7,7 @@ </tr> </thead> <tbody> - {% for package, version in versions.iteritems %} + {% for package, version in versions.items %} <tr class="{% cycle 'djDebugOdd' 'djDebugEven' %}"> <td>{{ package }}</td> <td>{{ version }}</td> |
