X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/6de9bcf51b42077e9628c4ad4d0e06a6932e7aa0..e785f561e82f8230697ffe100139eb1270eb1311:/wtem/models.py diff --git a/wtem/models.py b/wtem/models.py index 4c3d0ee..fd8e834 100644 --- a/wtem/models.py +++ b/wtem/models.py @@ -25,7 +25,7 @@ class Submission(models.Model): email = models.EmailField(max_length = 100, unique = True) answers = models.CharField(max_length = 65536, null = True, blank = True) key_sent = models.BooleanField(default = False) - marks = JSONField() + marks = JSONField(default={}) examiners = models.ManyToManyField(User, null = True, blank = True) end_time = models.CharField(max_length = 5, null = True, blank = True)