{% extends 'generic/exam_scores_base.html' %} {% block table_answers %} {% for question in questions %} Question {{forloop.counter}} {% for cid in cids %}
    {% with by_question|get_item:question|get_item:cid as ans_score %} {% for ans, score in ans_score %}
  1. {{ans}}
  2. {% endfor %} {% endwith %}
{% endfor %} {% endfor %} {% endblock %}