Add candidate.examination_teacher

This commit is contained in:
Claude Paroz 2018-02-14 18:30:10 +01:00
parent 7a4e9e18b8
commit b46c377919
3 changed files with 29 additions and 2 deletions

View file

@ -0,0 +1,21 @@
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('stages', '__first__'),
('candidats', '0007_candidate_datetime_fields'),
]
operations = [
migrations.AlterModelOptions(
name='candidate',
options={'ordering': ('last_name',), 'verbose_name': 'Candidat'},
),
migrations.AddField(
model_name='candidate',
name='examination_teacher',
field=models.ForeignKey(blank=True, limit_choices_to=models.Q(('abrev', 'MME'), ('abrev', 'CLG'), _connector='OR'), null=True, on_delete=models.deletion.SET_NULL, to='stages.Teacher', verbose_name='Correct. dossier'),
),
]