From: Jan Szejko Date: Wed, 11 Jan 2017 13:27:06 +0000 (+0100) Subject: arbiters not required X-Git-Url: https://git.mdrn.pl/edumed.git/commitdiff_plain/88599dbd2f8877e768dc0184275504203421872f?ds=sidebyside arbiters not required --- diff --git a/stage2/models.py b/stage2/models.py index 81625b9..cc1f1d5 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, empty=True, verbose_name=_('arbiters'), related_name='stage2_arbitrated') file_descriptions = JSONField(_('file descriptions')) class Meta: