Add student expert
This commit is contained in:
parent
127460e352
commit
2b678f186e
3 changed files with 22 additions and 2 deletions
16
stages/migrations/0007_add_student_expert.py
Normal file
16
stages/migrations/0007_add_student_expert.py
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('stages', '0006_student_supervisor_mentor'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='student',
|
||||
name='expert',
|
||||
field=models.ForeignKey(blank=True, null=True, on_delete=models.deletion.SET_NULL, related_name='rel_expert', to='stages.CorpContact', verbose_name='Expert'),
|
||||
),
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue