Make status a dependent field in Person model

This commit is contained in:
PCoder 2021-11-22 13:13:46 +05:30
parent 417bb68ffa
commit 14b7d99e9a

View file

@ -0,0 +1,19 @@
# Generated by Django 3.2.5 on 2021-11-22 07:43
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('app', '0015_rename_country_lookup_person_country'),
]
operations = [
migrations.AlterField(
model_name='person',
name='status',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='app.peoplestatus'),
),
]