Avoid hardcoding teachers available for candidate examinations

This commit is contained in:
Claude Paroz 2019-04-03 18:01:20 +02:00
parent 69cbfa3bb0
commit c6c7c3af31
3 changed files with 3 additions and 2 deletions

View file

@ -104,6 +104,7 @@ class Teacher(models.Model):
ext_id = models.IntegerField(blank=True, null=True)
previous_report = models.IntegerField(default=0, verbose_name='Report précédent')
next_report = models.IntegerField(default=0, verbose_name='Report suivant')
can_examinate = models.BooleanField("Peut corriger examens candidats", default=False)
archived = models.BooleanField(default=False)
user = models.OneToOneField(
settings.AUTH_USER_MODEL, on_delete=models.SET_NULL, null=True, blank=True,