次のテンプレートは、データがあるにもかかわらず何も出力していません。
私の質問は...「points」オブジェクトのコンテンツをテンプレートにダンプして、その中に何が含まれているかを確認できるかどうかです。
template.py
<h3>{% trans "Points" %}</h3>
{% if points %}
<p>{% trans "Total Points" %}: {{ points.Points }}</p>
<table>
<thead>
<tr>
<th>{% trans "Transaction" %}</th>
<th>{% trans "Status" %}</th>
<th>{% trans "Points" %}</th>
</tr>
</thead>
<tbody>
{% for item in points.Points_items.all %}
<tr>
<td>{{ item.transaction_description }}</td>
<td>{{ item.get_status_display }}</td>
<td>{{ item.points }}</td>
</tr>
{% endfor %}
</tbody>
</table>