私は次のようなものを持っています:
{% for mother in mothers_list %}
{% for father in fathers_list %}
{% Child.objects.get(mother=mother, father=father) as child %}
child.name
残念ながら、テンプレートからパラメーターを使用して関数を呼び出すことはできないため、この行
{% Child.objects.get(mother=mother, father=father) as child %}
動作しません。毎回 Child オブジェクトを取得する方法についてのアイデアはありますか?