1π
β
In last four statements you are not using dif
but difs
:
{% for dif in difs %}
<tr>
<td>{{ dif.depos }}</td>
<td>{{ dif.creds }}</td>
<td>{{ dif.date }}{{ difs.df }}</td> <--- should be dif.df
<td>{{ difs.df }}</td> <--- should be dif.df
<td>{{ difs.dc }}</td> <--- should be dif.dc
<td>{{ difs.pr }}</td> <--- should be dif.pr
</tr>
{% endfor %}
π€AKS
Source:stackexchange.com