Fixed bug where 0 values were showing up blank

This commit is contained in:
Simon Willison 2017-11-17 10:14:01 -08:00
commit 7feb746efe

View file

@ -59,7 +59,7 @@
{% for row in rows %}
<tr>
{% for td in row %}
<td>{{ td or "&nbsp;"|safe }}</td>
<td>{% if td == None %}{{ "&nbsp;"|safe }}{% else %}{{ td }}{% endif %}</td>
{% endfor %}
</tr>
{% endfor %}