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/cache.html12
1 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 5c5f13b..8576d3c 100644
--- a/debug_toolbar/templates/debug_toolbar/panels/cache.html
+++ b/debug_toolbar/templates/debug_toolbar/panels/cache.html
@@ -28,7 +28,7 @@
<th>deletes</th>
<td>{{ cache.deletes }}</td>
<th>get_many</th>
- <td>{{ cache.get_many }}</td>
+ <td>{{ cache.get_manys }}</td>
</tr>
</table>
{% if cache.calls %}
@@ -43,12 +43,12 @@
</tr>
</thead>
<tbody>
- {% for query in cache.calls %}
+ {% for call_time, call_type, call_args, call_kwargs, call_func in cache.calls %}
<tr class="{% cycle 'row1' 'row2' %}">
- <td>{{ query.0|floatformat:"4" }}</td>
- <td>{{ query.1|escape }}</td>
- <td>{{ query.2|escape }}</td>
- <td><acronym title="{{ query.3.0 }}:{{ query.3.1 }}">{{ query.3.2|escape }}</acronym>: {{ query.3.3.0|escape }}</td>
+ <td>{{ call_time|floatformat:"4" }}</td>
+ <td>{{ call_type|escape }}</td>
+ <td>{{ call_args|escape }}, {{ call_kwargs|escape }}</td>
+ <td><acronym title="{{ call_func.0 }}:{{ call_func.1 }}">{{ call_func.2|escape }}</acronym>: {{ call_func.3.0|escape }}</td>
</tr>
{% endfor %}
</tbody>