- contact = models.ForeignKey(Contact, null = True)
- key = models.CharField(max_length = 30, unique = True)
- first_name = models.CharField(max_length = 100)
- last_name = models.CharField(max_length = 100)
- 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()
- examiners = models.ManyToManyField(User, null = True, blank = True)
+ contact = models.ForeignKey(Contact, null=True)
+ key = models.CharField(max_length=30, unique=True)
+ first_name = models.CharField(max_length=100)
+ last_name = models.CharField(max_length=100)
+ 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(default={})
+ examiners = models.ManyToManyField(User, null=True, blank=True)
+ end_time = models.CharField(max_length=5, null=True, blank=True)