{% for task in tasks %}

{{ task.name }}

{% empty %}

Нет задач в этой секции

{% endfor %}