{# Renders table. Accepts 'table' which is a list of lists, and 'head' which is a list of columnnames #} {# Note: assumes first column is a datetime column #} {% for value in head %} {% endfor %} {% for table_row in table %} {% for value in table_row %} {% endfor %} {% endfor %}
1 %}class="number"{% endif %}> {{ value }}
1 %}class="number"{% endif %}> {% if forloop.counter = 1 %} {{ value|date:"d/m/Y H:i" }} {% else %} {{ value }} {% endif %}