aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/templates
diff options
context:
space:
mode:
authorJannis Leidel2012-03-31 17:11:11 +0200
committerJannis Leidel2012-03-31 17:14:25 +0200
commit2c7f68d55a6a0c101c41bd23ccb2d0ce9b332e42 (patch)
tree5e93142d5fb3f464e50e36151c4c25d8347353e7 /debug_toolbar/templates
parent37a30194a1d5c9ebd7080954725dae38e19264fc (diff)
downloaddjango-debug-toolbar-2c7f68d55a6a0c101c41bd23ccb2d0ce9b332e42.tar.bz2
Merge branch 'master' of https://github.com/ivirabyan/django-debug-toolbar into ivirabyan-master
Conflicts: debug_toolbar/panels/cache.py debug_toolbar/toolbar/loader.py
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>