X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/4e108b153d4a15cb2641f25dc6dc506c77db9bca..4d579bfcf20ca69d142c3bcc9eb96feb72888d63:/stage2/models.py diff --git a/stage2/models.py b/stage2/models.py index 81625b9..dc7ac63 100644 --- a/stage2/models.py +++ b/stage2/models.py @@ -63,7 +63,8 @@ class Assignment(models.Model): deadline = models.DateTimeField(_('deadline')) max_points = models.IntegerField(_('max points')) experts = models.ManyToManyField(User, verbose_name=_('experts'), related_name='stage2_assignments') - arbiters = models.ManyToManyField(User, verbose_name=_('arbiters'), related_name='stage2_arbitrated') + arbiters = models.ManyToManyField( + User, blank=True, verbose_name=_('arbiters'), related_name='stage2_arbitrated') file_descriptions = JSONField(_('file descriptions')) class Meta: