{% extends 'base_main.html' %} {% block title %}Задачи{% endblock %} {% load filters %} {% block main %} {% if user.userinfo.can_create %} {% endif %}

Задачи

{% for task in user.userinfo.available_tasks %} {% with result=user|solved:task %} {{ task.name }} {% if task.creator == user or user.username in task.editors %} {% endif %}
{% endwith %} {% endfor %} {% endblock %}