|
{%for exam in course1.exam_set.all%}
{% for r in result %}
{% if r.exam == exam and r.student == student %}
{% with marks=r.gained_marks %}
{% endwith %}
{% endif %}
{% endfor %}
|
{%endfor%}
{%for total_marks in student.total_marks_set.all%}
{% if total_marks.course == course1 %}
|
{% endif %}
{%endfor%}
{%endfor%}