add publish results feature

This commit is contained in:
Ross
2020-12-10 23:26:44 +00:00
parent cdd466ecb5
commit 75516f38e5
8 changed files with 79 additions and 4 deletions
+4
View File
@@ -258,6 +258,10 @@ class Exam(models.Model):
help_text="If an exam should be available", default=True
)
publish_results = models.BooleanField(
help_text="If an exams results should be available", default=True
)
recreate_json = models.BooleanField(
help_text="If the json cache needs updating", default=False
)