Make boolean fields for People model
This commit is contained in:
parent
2e9ebadf29
commit
c5539192bf
3 changed files with 230 additions and 34 deletions
18
app/migrations/0009_alter_person_birds.py
Normal file
18
app/migrations/0009_alter_person_birds.py
Normal file
|
@ -0,0 +1,18 @@
|
|||
# Generated by Django 3.2.5 on 2021-11-18 19:05
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('app', '0008_alter_taxonrange_taxon'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='person',
|
||||
name='birds',
|
||||
field=models.BooleanField(default=False),
|
||||
),
|
||||
]
|
178
app/migrations/0010_auto_20211119_0201.py
Normal file
178
app/migrations/0010_auto_20211119_0201.py
Normal file
|
@ -0,0 +1,178 @@
|
|||
# Generated by Django 3.2.5 on 2021-11-19 02:01
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('app', '0009_alter_person_birds'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='person',
|
||||
name='_global',
|
||||
field=models.BooleanField(default=False),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='person',
|
||||
name='algae',
|
||||
field=models.BooleanField(default=False),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='person',
|
||||
name='amphibians',
|
||||
field=models.BooleanField(default=False),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='person',
|
||||
name='angiosperms',
|
||||
field=models.BooleanField(default=False),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='person',
|
||||
name='arachnids',
|
||||
field=models.BooleanField(default=False),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='person',
|
||||
name='assessment',
|
||||
field=models.BooleanField(default=False),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='person',
|
||||
name='biological_field_sampling',
|
||||
field=models.BooleanField(default=False),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='person',
|
||||
name='crustaceans',
|
||||
field=models.BooleanField(default=False),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='person',
|
||||
name='data_mining',
|
||||
field=models.BooleanField(default=False),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='person',
|
||||
name='field_site',
|
||||
field=models.BooleanField(default=False),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='person',
|
||||
name='fish',
|
||||
field=models.BooleanField(default=False),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='person',
|
||||
name='fungi',
|
||||
field=models.BooleanField(default=False),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='person',
|
||||
name='genetic_analyses',
|
||||
field=models.BooleanField(default=False),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='person',
|
||||
name='gis',
|
||||
field=models.BooleanField(default=False),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='person',
|
||||
name='gymnosperms',
|
||||
field=models.BooleanField(default=False),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='person',
|
||||
name='insects',
|
||||
field=models.BooleanField(default=False),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='person',
|
||||
name='landscape',
|
||||
field=models.BooleanField(default=False),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='person',
|
||||
name='mammals',
|
||||
field=models.BooleanField(default=False),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='person',
|
||||
name='meta_analysis',
|
||||
field=models.BooleanField(default=False),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='person',
|
||||
name='microbes',
|
||||
field=models.BooleanField(default=False),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='person',
|
||||
name='modelling',
|
||||
field=models.BooleanField(default=False),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='person',
|
||||
name='molluscs',
|
||||
field=models.BooleanField(default=False),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='person',
|
||||
name='mountain_range',
|
||||
field=models.BooleanField(default=False),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='person',
|
||||
name='mountain_top',
|
||||
field=models.BooleanField(default=False),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='person',
|
||||
name='national',
|
||||
field=models.BooleanField(default=False),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='person',
|
||||
name='qualitative_ssm',
|
||||
field=models.BooleanField(default=False),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='person',
|
||||
name='regional',
|
||||
field=models.BooleanField(default=False),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='person',
|
||||
name='remote_sensing',
|
||||
field=models.BooleanField(default=False),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='person',
|
||||
name='reptiles',
|
||||
field=models.BooleanField(default=False),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='person',
|
||||
name='spatial_analysis',
|
||||
field=models.BooleanField(default=False),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='person',
|
||||
name='statistical_analysis',
|
||||
field=models.BooleanField(default=False),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='person',
|
||||
name='synthesis',
|
||||
field=models.BooleanField(default=False),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='person',
|
||||
name='transect',
|
||||
field=models.BooleanField(default=False),
|
||||
),
|
||||
]
|
|
@ -502,40 +502,40 @@ class Person(models.Model):
|
|||
news_letter = models.TextField(blank=True, null=True)
|
||||
country_lookup = models.TextField(blank=True, null=True)
|
||||
organization = models.ForeignKey(Organization, models.DO_NOTHING, blank=True, null=True)
|
||||
birds = models.TextField(blank=True, null=True)
|
||||
mammals = models.TextField(blank=True, null=True)
|
||||
reptiles = models.TextField(blank=True, null=True)
|
||||
amphibians = models.TextField(blank=True, null=True)
|
||||
fish = models.TextField(blank=True, null=True)
|
||||
insects = models.TextField(blank=True, null=True)
|
||||
molluscs = models.TextField(blank=True, null=True)
|
||||
crustaceans = models.TextField(blank=True, null=True)
|
||||
arachnids = models.TextField(blank=True, null=True)
|
||||
angiosperms = models.TextField(blank=True, null=True)
|
||||
gymnosperms = models.TextField(blank=True, null=True)
|
||||
fungi = models.TextField(blank=True, null=True)
|
||||
algae = models.TextField(blank=True, null=True)
|
||||
microbes = models.TextField(blank=True, null=True)
|
||||
biological_field_sampling = models.TextField(blank=True, null=True)
|
||||
data_mining = models.TextField(blank=True, null=True)
|
||||
remote_sensing = models.TextField(blank=True, null=True)
|
||||
gis = models.TextField(blank=True, null=True)
|
||||
spatial_analysis = models.TextField(blank=True, null=True)
|
||||
statistical_analysis = models.TextField(blank=True, null=True)
|
||||
modelling = models.TextField(blank=True, null=True)
|
||||
assessment = models.TextField(blank=True, null=True)
|
||||
meta_analysis = models.TextField(blank=True, null=True)
|
||||
synthesis = models.TextField(blank=True, null=True)
|
||||
qualitative_ssm = models.TextField(blank=True, null=True) #"Qualitative social science methods (interviews, surveys)"
|
||||
genetic_analyses = models.TextField(blank=True, null=True)
|
||||
field_site = models.TextField(blank=True, null=True)
|
||||
transect = models.TextField(blank=True, null=True)
|
||||
mountain_top = models.TextField(blank=True, null=True)
|
||||
mountain_range = models.TextField(blank=True, null=True)
|
||||
landscape = models.TextField(blank=True, null=True)
|
||||
regional = models.TextField(blank=True, null=True)
|
||||
national = models.TextField(blank=True, null=True)
|
||||
_global = models.TextField(blank=True, null=True)
|
||||
birds = models.BooleanField(default=False)
|
||||
mammals = models.BooleanField(default=False)
|
||||
reptiles = models.BooleanField(default=False)
|
||||
amphibians = models.BooleanField(default=False)
|
||||
fish = models.BooleanField(default=False)
|
||||
insects = models.BooleanField(default=False)
|
||||
molluscs = models.BooleanField(default=False)
|
||||
crustaceans = models.BooleanField(default=False)
|
||||
arachnids = models.BooleanField(default=False)
|
||||
angiosperms = models.BooleanField(default=False)
|
||||
gymnosperms = models.BooleanField(default=False)
|
||||
fungi = models.BooleanField(default=False)
|
||||
algae = models.BooleanField(default=False)
|
||||
microbes = models.BooleanField(default=False)
|
||||
biological_field_sampling = models.BooleanField(default=False)
|
||||
data_mining = models.BooleanField(default=False)
|
||||
remote_sensing = models.BooleanField(default=False)
|
||||
gis = models.BooleanField(default=False)
|
||||
spatial_analysis = models.BooleanField(default=False)
|
||||
statistical_analysis = models.BooleanField(default=False)
|
||||
modelling = models.BooleanField(default=False)
|
||||
assessment = models.BooleanField(default=False)
|
||||
meta_analysis = models.BooleanField(default=False)
|
||||
synthesis = models.BooleanField(default=False)
|
||||
qualitative_ssm = models.BooleanField(default=False) #"Qualitative social science methods (interviews, surveys)"
|
||||
genetic_analyses = models.BooleanField(default=False)
|
||||
field_site = models.BooleanField(default=False)
|
||||
transect = models.BooleanField(default=False)
|
||||
mountain_top = models.BooleanField(default=False)
|
||||
mountain_range = models.BooleanField(default=False)
|
||||
landscape = models.BooleanField(default=False)
|
||||
regional = models.BooleanField(default=False)
|
||||
national = models.BooleanField(default=False)
|
||||
_global = models.BooleanField(default=False)
|
||||
geographic_area_of_expertise = models.TextField(blank=True, null=True)
|
||||
profile_on_web = models.TextField(blank=True, null=True)
|
||||
updated = models.TextField(blank=True, null=True)
|
||||
|
|
Loading…
Reference in a new issue