diff --git a/app/migrations/0018_alter_person_entry_date.py b/app/migrations/0018_alter_person_entry_date.py new file mode 100644 index 0000000..3ef1976 --- /dev/null +++ b/app/migrations/0018_alter_person_entry_date.py @@ -0,0 +1,18 @@ +# Generated by Django 3.2.5 on 2021-11-22 10:18 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('app', '0017_auto_20211122_1008'), + ] + + operations = [ + migrations.AlterField( + model_name='person', + name='entry_date', + field=models.TextField(blank=True, null=True), + ), + ] diff --git a/app/models.py b/app/models.py index 7b5ba0f..a23e546 100644 --- a/app/models.py +++ b/app/models.py @@ -496,7 +496,7 @@ class Person(models.Model): url = models.TextField(blank=True, null=True) field_of_expertise = models.TextField(blank=True, null=True) status = models.ForeignKey(PeopleStatus, models.DO_NOTHING, blank=True, null=True, to_field='id') - entry_date = models.TextField(blank=True, null=True, editable=False) + entry_date = models.TextField(blank=True, null=True) gmba_function = models.TextField(blank=True, null=True) news_letter = models.BooleanField(default=False) country = models.ForeignKey(Country, models.DO_NOTHING, blank=True, null=True, to_field='id')