{% extends 'info/base.html' %} {% load static %} {% block content %}
Marks
{% for sc in sc_list %} {% for m in sc.marks_set.all %} {% endfor %} {% empty %}

student has no courses

{% endfor %}
Course ID Course name Prelim Exam MidTerm Exam Final Exam Short Quiz Long Quiz Weekly Quiz
{{ sc.course_id }} {{sc.course.name}}{{ m.marks1 }}
{% endblock %}