{% for category in categories %}

{{ category.name }}

{% for todo in category.todo_set.all %} {% endfor %}
タイトル内容
{{ todo.title }} {{ todo.description }} {% if todo.is_finished %}Finished{% else %}Not yet finished{% endif %} {{ todo.description }}
{% endfor %}