Редактировать вопрос

Варианты ответов

{% for idx in range(1, 5) %}
{% endfor %} {% set correct_idx = None %} {% for answer in question.answers %} {% if answer.is_correct %} {% set correct_idx = loop.index %} {% endif %} {% endfor %}
{% if question.attachments %}
{% endif %}
Отмена