Add candidate.examination_teacher
This commit is contained in:
parent
7a4e9e18b8
commit
b46c377919
3 changed files with 29 additions and 2 deletions
21
candidats/migrations/0008_add_examination_teacher.py
Normal file
21
candidats/migrations/0008_add_examination_teacher.py
Normal 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'),
|
||||
),
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue