X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/118fd7ac41a586001b4c8f45c149731cc9a2e586..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)