diff options
| author | David Cramer | 2011-04-06 17:03:11 -0700 |
|---|---|---|
| committer | David Cramer | 2011-04-06 17:03:11 -0700 |
| commit | 4f159454e5c56655c55a3f5fd9666013bedddc38 (patch) | |
| tree | 49b2f789b6716d5f30cb5e4cc9cb0029d6fcc55e | |
| parent | 43a95e175c889064f580a8ab472ae45a16e2f738 (diff) | |
| download | django-debug-toolbar-4f159454e5c56655c55a3f5fd9666013bedddc38.tar.bz2 | |
Correctly reference num_queries
| -rw-r--r-- | debug_toolbar/templates/debug_toolbar/panels/sql.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debug_toolbar/templates/debug_toolbar/panels/sql.html b/debug_toolbar/templates/debug_toolbar/panels/sql.html index 81e1667..1d8314e 100644 --- a/debug_toolbar/templates/debug_toolbar/panels/sql.html +++ b/debug_toolbar/templates/debug_toolbar/panels/sql.html @@ -4,7 +4,7 @@ {% for alias, info in databases %} <li> <strong class="label"><span style="background-color: rgb({{ info.rgb_color|join:", " }})" class="color"> </span> {{ alias }}</strong> - <span class="info">{{ info.time_spent|floatformat:"2" }} ms ({% blocktrans count info.queries as num %}{{ num }} query{% plural %}{{ num }} queries{% endblocktrans %})</span> + <span class="info">{{ info.time_spent|floatformat:"2" }} ms ({% blocktrans count info.num_queries as num %}{{ num }} query{% plural %}{{ num }} queries{% endblocktrans %})</span> </li> {% endfor %} </ul> |
