Revert back editable for entry_date

This commit is contained in:
PCoder 2021-11-22 15:49:10 +05:30
parent 17131dc91c
commit 0832517b92
2 changed files with 19 additions and 1 deletions

View file

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

View file

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