From 3c7354e199fc47d1a7c60f4f6701370b5d8b2c02 Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 4 Apr 2022 22:59:29 +0100 Subject: [PATCH] . --- rapids/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rapids/models.py b/rapids/models.py index 2a2b962f..3999f13d 100644 --- a/rapids/models.py +++ b/rapids/models.py @@ -633,7 +633,7 @@ class Exam(ExamBase): q.get_correct_unstripped_answers() ) - if self.include_history: + if self.include_history and q.history: exam_questions[q.id]["history"] = q.history