Remove country field from Person
This commit is contained in:
parent
d42505741e
commit
b21a465e47
2 changed files with 18 additions and 1 deletions
17
app/migrations/0013_remove_person_country.py
Normal file
17
app/migrations/0013_remove_person_country.py
Normal file
|
@ -0,0 +1,17 @@
|
|||
# Generated by Django 3.2.5 on 2021-11-22 07:13
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('app', '0012_alter_person_country'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RemoveField(
|
||||
model_name='person',
|
||||
name='country',
|
||||
),
|
||||
]
|
|
@ -481,7 +481,7 @@ class Person(models.Model):
|
|||
last_name = models.TextField(blank=True, null=True)
|
||||
organisation = models.TextField(blank=True, null=True)
|
||||
position = models.TextField(blank=True, null=True)
|
||||
country = models.ForeignKey(Country, models.DO_NOTHING, blank=True, null=True)
|
||||
#country = models.ForeignKey(Country, models.DO_NOTHING, blank=True, null=True)
|
||||
contact_email = models.TextField(blank=True, null=True) # email_1
|
||||
personal_url = models.TextField(blank=True, null=True) # url ?
|
||||
biography = models.TextField(blank=True, null=True)
|
||||
|
|
Loading…
Reference in a new issue