feat(people): Add nationality and residence fields

See #1
This commit is contained in:
James Graham
2020-02-25 08:38:30 +00:00
parent abcfd67f77
commit 9210636475
6 changed files with 80 additions and 7 deletions

View File

@@ -0,0 +1,24 @@
# Generated by Django 2.2.10 on 2020-02-24 08:16
from django.db import migrations
import django_countries.fields
class Migration(migrations.Migration):
dependencies = [
('people', '0009_add_first_person_fields'),
]
operations = [
migrations.AddField(
model_name='person',
name='country_of_residence',
field=django_countries.fields.CountryField(blank=True, max_length=2, null=True),
),
migrations.AddField(
model_name='person',
name='nationality',
field=django_countries.fields.CountryField(blank=True, max_length=2, null=True),
),
]