- title = models.CharField(max_length=128)
- content = models.TextField()
- deadline = models.DateTimeField()
- max_points = models.IntegerField()
- file_descriptions = JSONField()
+ title = models.CharField(_('title'), max_length=128)
+ content = models.TextField(_('content'))
+ content_url = models.URLField(_('URL'))
+ deadline = models.DateTimeField(_('deadline'))
+ max_points = models.IntegerField(_('max points'))
+ experts = models.ManyToManyField(
+ settings.AUTH_USER_MODEL, verbose_name=_('experts'), related_name='stage2_assignments')
+ arbiters = models.ManyToManyField(
+ settings.AUTH_USER_MODEL, blank=True, verbose_name=_('arbiters'), related_name='stage2_arbitrated')
+ supervisors = models.ManyToManyField(
+ settings.AUTH_USER_MODEL, verbose_name=_('supervisors'), related_name='stage2_supervised')
+ file_descriptions = JSONField(_('file descriptions'))