lost track of changes...
This commit is contained in:
@@ -30,6 +30,7 @@ from django.contrib.contenttypes.fields import GenericRelation
|
||||
from generic.models import (
|
||||
CidUser,
|
||||
CidUserGroup,
|
||||
ExamUserStatus,
|
||||
Site,
|
||||
Condition,
|
||||
Sign,
|
||||
@@ -643,6 +644,8 @@ class Exam(ExamBase):
|
||||
related_name="rapid_user_user_groups"
|
||||
)
|
||||
|
||||
exam_user_status = GenericRelation(ExamUserStatus)
|
||||
|
||||
def get_normal_abnormal_breakdown(self):
|
||||
# Inefficient but more extendible
|
||||
questions = self.exam_questions.all()
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<a href="{% url 'rapids:exam_overview' pk=exam.pk %}">Overview</a> /
|
||||
{% if exam.exam_mode %}
|
||||
<a href="{% url 'rapids:mark_overview' pk=exam.pk %}">Mark</a> /
|
||||
<a href="{% url 'rapids:exam_scores_cid' pk=exam.pk %}">Scores</a> /
|
||||
<a href="{% url 'rapids:exam_scores_all' pk=exam.pk %}">Scores</a> /
|
||||
<a href="{% url 'rapids:exam_cids' exam_id=exam.pk %}">Candidates</a> /
|
||||
{% endif %}
|
||||
<a href="{% url 'rapids:rapid_create_exam' pk=exam.pk %}">Add New Question</a>
|
||||
|
||||
Reference in New Issue
Block a user