fnp
/
edumed.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
aef7509
)
arbiters not required
author
Jan Szejko
<janek37@gmail.com>
Wed, 11 Jan 2017 13:27:06 +0000
(14:27 +0100)
committer
Jan Szejko
<janek37@gmail.com>
Wed, 11 Jan 2017 13:27:06 +0000
(14:27 +0100)
stage2/models.py
patch
|
blob
|
history
diff --git
a/stage2/models.py
b/stage2/models.py
index
81625b9
..
cc1f1d5
100644
(file)
--- 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')
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:
file_descriptions = JSONField(_('file descriptions'))
class Meta: