Remove country field from Person

This commit is contained in:
PCoder 2021-11-22 12:44:13 +05:30
parent d42505741e
commit b21a465e47
2 changed files with 18 additions and 1 deletions

View 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',
),
]

View File

@ -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)