Allow CorpContact.corporation being null
This commit is contained in:
parent
c4c7ec5c79
commit
0a9ecd8c96
3 changed files with 23 additions and 3 deletions
16
stages/migrations/0009_corpcontact_corp_nullable.py
Normal file
16
stages/migrations/0009_corpcontact_corp_nullable.py
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('stages', '0008_add_logbook'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='corpcontact',
|
||||
name='corporation',
|
||||
field=models.ForeignKey(blank=True, null=True, on_delete=models.deletion.CASCADE, to='stages.Corporation', verbose_name='Institution'),
|
||||
),
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue