Revert back editable for entry_date
This commit is contained in:
parent
17131dc91c
commit
0832517b92
2 changed files with 19 additions and 1 deletions
18
app/migrations/0018_alter_person_entry_date.py
Normal file
18
app/migrations/0018_alter_person_entry_date.py
Normal 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),
|
||||||
|
),
|
||||||
|
]
|
|
@ -496,7 +496,7 @@ class Person(models.Model):
|
||||||
url = models.TextField(blank=True, null=True)
|
url = models.TextField(blank=True, null=True)
|
||||||
field_of_expertise = 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')
|
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)
|
gmba_function = models.TextField(blank=True, null=True)
|
||||||
news_letter = models.BooleanField(default=False)
|
news_letter = models.BooleanField(default=False)
|
||||||
country = models.ForeignKey(Country, models.DO_NOTHING, blank=True, null=True, to_field='id')
|
country = models.ForeignKey(Country, models.DO_NOTHING, blank=True, null=True, to_field='id')
|
||||||
|
|
Loading…
Reference in a new issue