One citation bug fix (typo); change needed due to Django 1.3 security issue re: passing model to function

svn: r18583
This commit is contained in:
Doug Blank
2011-12-12 12:23:28 +00:00
parent d97ece24a6
commit ef463c851e
5 changed files with 33 additions and 3 deletions

View File

@@ -20,7 +20,7 @@ Database information:</p>
<tr class="{% cycle odd,even %}">
{% if view.2 %}
<td align="left"><a href="/{{view.1}}">{{view.0}}</a></td>
<td align="left"><a href="/{{view.1}}">{{view.2.objects.count|format_number}}</td>
<td align="left"><a href="/{{view.1}}">{{view.1|table_count}}</td>
{% endif %}
</tr>
{% endfor %}

View File

@@ -28,7 +28,7 @@ Database information:</p>
<tr class="{% cycle odd,even %}">
{% if view.2 %}
<td align="left"><a href="/{{view.1}}">{{view.0}}</a></td>
<td align="left"><a href="/{{view.1}}">{{view.2.objects.count|format_number}}</td>
<td align="left"><a href="/{{view.1}}">{{view.1|table_count}}</td>
{% endif %}
</tr>
{% endfor %}