Add Student.instructor2 relation
This commit is contained in:
parent
cbbcc2c5ca
commit
20b8459a6b
4 changed files with 26 additions and 2 deletions
16
stages/migrations/0034_add_instructor2.py
Normal file
16
stages/migrations/0034_add_instructor2.py
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('stages', '0033_room_length'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='student',
|
||||
name='instructor2',
|
||||
field=models.ForeignKey(blank=True, null=True, on_delete=models.deletion.SET_NULL, related_name='rel_instructor2', to='stages.CorpContact', verbose_name='FEE/FPP (2)'),
|
||||
),
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue