This commit is contained in:
Ross
2021-09-11 18:29:25 +01:00
parent 5edcf2aabc
commit 0f7ee7b6f1
5 changed files with 32 additions and 12 deletions
+2
View File
@@ -585,6 +585,8 @@ class Exam(ExamBase):
help_text='Author of exam',
related_name="long_exam_author")
double_mark = models.BooleanField(default=True, help_text="Defines if an exam is expected to be double marked")
def get_exam_question_json(self, question_id):
q = get_object_or_404(Long, pk=question_id)