Skip to content

Commit 11cadd3

Browse files
committed
Undo non-editable Report.type
1 parent b66ca62 commit 11cadd3

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

tigaserver_app/migrations/0051_report_non_editable.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,6 @@ class Migration(migrations.Migration):
4343
name='creation_time',
4444
field=models.DateTimeField(editable=False, help_text="Date and time on phone when first version of report was created. Format as ECMA 262 date time string (e.g. '2014-05-17T12:34:56.123+01:00'."),
4545
),
46-
migrations.AlterField(
47-
model_name='historicalreport',
48-
name='type',
49-
field=models.CharField(choices=[('bite', 'Bite'), ('adult', 'Adult'), ('site', 'Breeding Site'), ('mission', 'Mission')], editable=False, help_text="Type of report: 'adult', 'site', or 'mission'.", max_length=7),
50-
),
5146
migrations.AlterField(
5247
model_name='report',
5348
name='creation_time',
@@ -58,11 +53,6 @@ class Migration(migrations.Migration):
5853
name='phone_upload_time',
5954
field=models.DateTimeField(editable=False, help_text="Date and time on phone when it uploaded fix. Format as ECMA 262 date time string (e.g. '2014-05-17T12:34:56.123+01:00'."),
6055
),
61-
migrations.AlterField(
62-
model_name='report',
63-
name='type',
64-
field=models.CharField(choices=[('bite', 'Bite'), ('adult', 'Adult'), ('site', 'Breeding Site'), ('mission', 'Mission')], editable=False, help_text="Type of report: 'adult', 'site', or 'mission'.", max_length=7),
65-
),
6656
migrations.AlterField(
6757
model_name='report',
6858
name='version_number',

tigaserver_app/models.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,6 @@ class Report(TimeZoneModelMixin, models.Model):
608608
type = models.CharField(
609609
max_length=7,
610610
choices=TYPE_CHOICES,
611-
editable=False,
612611
help_text="Type of report: 'adult', 'site', or 'mission'.",
613612
)
614613

0 commit comments

Comments
 (0)