basic json caching

This commit is contained in:
Ross
2020-11-23 16:21:56 +00:00
parent f345ca4447
commit 0ff1c39ffd
5 changed files with 57 additions and 8 deletions
+3
View File
@@ -195,6 +195,9 @@ class Exam(models.Model):
active = models.BooleanField(help_text="If an exam should be available",
default=True)
recreate_json = models.BooleanField(help_text="If the json cache needs updating",
default=False)
def __str__(self):
return self.name