Add Student.supervisor and mentor
This commit is contained in:
parent
f5a2e7f1ab
commit
fa96b75e9f
3 changed files with 34 additions and 1 deletions
21
stages/migrations/0006_student_supervisor_mentor.py
Normal file
21
stages/migrations/0006_student_supervisor_mentor.py
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('stages', '0005_extend_student_avs'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='student',
|
||||
name='mentor',
|
||||
field=models.ForeignKey(blank=True, null=True, on_delete=models.deletion.SET_NULL, related_name='rel_mentor', to='stages.CorpContact', verbose_name='Mentor'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='student',
|
||||
name='supervisor',
|
||||
field=models.ForeignKey(blank=True, null=True, on_delete=models.deletion.SET_NULL, related_name='rel_supervisor', to='stages.CorpContact', verbose_name='Superviseur'),
|
||||
),
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue