Resource : Fix boolean field
This commit is contained in:
parent
8a3dfa9182
commit
6fcbdc7184
2 changed files with 67 additions and 9 deletions
58
app/migrations/0027_auto_20211126_1252.py
Normal file
58
app/migrations/0027_auto_20211126_1252.py
Normal file
|
@ -0,0 +1,58 @@
|
||||||
|
# Generated by Django 3.2.5 on 2021-11-26 12:52
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('app', '0026_auto_20211126_1203'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='range',
|
||||||
|
name='checked',
|
||||||
|
field=models.BooleanField(default=False),
|
||||||
|
),
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='resource',
|
||||||
|
name='PEGASuS_Check_map_with_author',
|
||||||
|
field=models.BooleanField(default=False),
|
||||||
|
),
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='resource',
|
||||||
|
name='gloria',
|
||||||
|
field=models.BooleanField(default=False),
|
||||||
|
),
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='resource',
|
||||||
|
name='gnomo',
|
||||||
|
field=models.BooleanField(default=False),
|
||||||
|
),
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='resource',
|
||||||
|
name='inventory',
|
||||||
|
field=models.BooleanField(default=False),
|
||||||
|
),
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='resource',
|
||||||
|
name='lter',
|
||||||
|
field=models.BooleanField(default=False),
|
||||||
|
),
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='resource',
|
||||||
|
name='ltser',
|
||||||
|
field=models.BooleanField(default=False),
|
||||||
|
),
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='resource',
|
||||||
|
name='miren',
|
||||||
|
field=models.BooleanField(default=False),
|
||||||
|
),
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='resource',
|
||||||
|
name='team',
|
||||||
|
field=models.BooleanField(default=False),
|
||||||
|
),
|
||||||
|
]
|
|
@ -105,7 +105,7 @@ class Range(models.Model):
|
||||||
peak_latitude = models.TextField(blank=True, null=True)
|
peak_latitude = models.TextField(blank=True, null=True)
|
||||||
peak_longitude = models.TextField(blank=True, null=True)
|
peak_longitude = models.TextField(blank=True, null=True)
|
||||||
comments = models.TextField(blank=True, null=True)
|
comments = models.TextField(blank=True, null=True)
|
||||||
checked = models.BooleanField(default=False, null=True, blank=True)
|
checked = models.BooleanField(default=False)
|
||||||
source = models.TextField(blank=True, null=True)
|
source = models.TextField(blank=True, null=True)
|
||||||
range_alternate_id = models.TextField(blank=True, null=True)
|
range_alternate_id = models.TextField(blank=True, null=True)
|
||||||
geologic_region = models.TextField(blank=True, null=True)
|
geologic_region = models.TextField(blank=True, null=True)
|
||||||
|
@ -192,17 +192,17 @@ class Resource(models.Model):
|
||||||
lat = models.TextField(blank=True, null=True)
|
lat = models.TextField(blank=True, null=True)
|
||||||
lon = models.TextField(blank=True, null=True)
|
lon = models.TextField(blank=True, null=True)
|
||||||
stars = models.TextField(blank=True, null=True, choices=STAR_CHOICES)
|
stars = models.TextField(blank=True, null=True, choices=STAR_CHOICES)
|
||||||
PEGASuS_Check_map_with_author = models.BooleanField(default=False, null=True, blank=True)
|
PEGASuS_Check_map_with_author = models.BooleanField(default=False)
|
||||||
PEGASuS_polygon_ID = models.TextField(blank=True, null=True)
|
PEGASuS_polygon_ID = models.TextField(blank=True, null=True)
|
||||||
PEGASuS_Polygon_comments = models.TextField(blank=True, null=True)
|
PEGASuS_Polygon_comments = models.TextField(blank=True, null=True)
|
||||||
PEGASuS_Assessment_ID = models.TextField(blank=True, null=True)
|
PEGASuS_Assessment_ID = models.TextField(blank=True, null=True)
|
||||||
gloria = models.BooleanField(default=False, null=True, blank=True)
|
gloria = models.BooleanField(default=False)
|
||||||
gnomo = models.BooleanField(default=False, null=True, blank=True)
|
gnomo = models.BooleanField(default=False)
|
||||||
lter = models.BooleanField(default=False, null=True, blank=True)
|
lter = models.BooleanField(default=False)
|
||||||
ltser = models.BooleanField(default=False, null=True, blank=True)
|
ltser = models.BooleanField(default=False)
|
||||||
miren = models.BooleanField(default=False, null=True, blank=True)
|
miren = models.BooleanField(default=False)
|
||||||
team = models.BooleanField(default=False, null=True, blank=True)
|
team = models.BooleanField(default=False)
|
||||||
inventory = models.BooleanField(default=False, null=True, blank=True)
|
inventory = models.BooleanField(default=False)
|
||||||
doi = models.TextField(blank=True, null=True)
|
doi = models.TextField(blank=True, null=True)
|
||||||
wiki_data_id = models.TextField(blank=True, null=True)
|
wiki_data_id = models.TextField(blank=True, null=True)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue