This repository has been archived by the owner on Mar 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Close dbca-wa/wastd#315 Relabel VegClass, add fifth stratum
- Loading branch information
Florian Mayer
authored and
Florian Mayer
committed
Jul 30, 2020
1 parent
f60e67c
commit d5c6219
Showing
3 changed files
with
173 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
# Generated by Django 3.0.8 on 2020-07-30 04:48 | ||
|
||
import django.contrib.gis.db.models.fields | ||
import django.core.validators | ||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
import uuid | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('taxonomy', '0034_auto_20200730_1248'), | ||
('occurrence', '0049_auto_20200723_1625'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='vegetationclassification', | ||
name='level5', | ||
field=models.TextField(blank=True, help_text='The fifth classification level: Overstorey', null=True, verbose_name='Overstorey'), | ||
), | ||
migrations.AlterField( | ||
model_name='areaencounter', | ||
name='point', | ||
field=django.contrib.gis.db.models.fields.PointField(blank=True, help_text='A point representing the area occupied by the encountered subject. If empty, the point will be calculated as the centroid of the polygon extent. If you have coordinates, click first into the map to generate GeoJSON, then insert your coordinates into the GeoJSON. Save and review!', null=True, srid=4326, verbose_name='Representative Point'), | ||
), | ||
migrations.AlterField( | ||
model_name='areaencounter', | ||
name='source_id', | ||
field=models.CharField(default=uuid.UUID('ee5d6854-d21f-11ea-a056-87bd367653c6'), help_text='The ID of the record in the original source, if available.', max_length=1000, verbose_name='Source ID'), | ||
), | ||
migrations.AlterField( | ||
model_name='firehistory', | ||
name='fire_intensity', | ||
field=models.CharField(choices=[('NA', 'NA'), ('no', 'No evidence of fire'), ('low', 'Low'), ('medium', 'Medium'), ('high', 'High')], default='NA', help_text='Estimated intensity of last fire on a scale from High to Low, including no evidence of fire, or leave NA if this information is not available.', max_length=100, verbose_name='Fire intensity'), | ||
), | ||
migrations.AlterField( | ||
model_name='firehistory', | ||
name='last_fire_date', | ||
field=models.DateField(blank=True, help_text='The estimated date of the last fire, if evident. Choose the closest date to your estimate.', null=True, verbose_name='Date of last fire'), | ||
), | ||
migrations.AlterField( | ||
model_name='plantcount', | ||
name='flowering_plants_percent', | ||
field=models.PositiveIntegerField(blank=True, help_text='The proportion of flowering plants of surveyed population in percent [0..100].', null=True, validators=[django.core.validators.MinValueValidator(0), django.core.validators.MaxValueValidator(100)], verbose_name='Flowering Plants [%]'), | ||
), | ||
migrations.AlterField( | ||
model_name='taxonareaencounter', | ||
name='taxon', | ||
field=models.ForeignKey(help_text='The taxonomic name of the encountered subject. Type the taxonomic or vernacular name to see available names. The autocomplete widget times out if left for too long.', on_delete=django.db.models.deletion.PROTECT, related_name='taxon_occurrences', to='taxonomy.Taxon'), | ||
), | ||
migrations.AlterField( | ||
model_name='vegetationclassification', | ||
name='level1', | ||
field=models.TextField(blank=True, help_text='The first classification level: Surface', null=True, verbose_name='Surface'), | ||
), | ||
migrations.AlterField( | ||
model_name='vegetationclassification', | ||
name='level2', | ||
field=models.TextField(blank=True, help_text='The second classification level: Near Surface', null=True, verbose_name='Near Surface'), | ||
), | ||
migrations.AlterField( | ||
model_name='vegetationclassification', | ||
name='level3', | ||
field=models.TextField(blank=True, help_text='The third classification level: Elevated', null=True, verbose_name='Elevated'), | ||
), | ||
migrations.AlterField( | ||
model_name='vegetationclassification', | ||
name='level4', | ||
field=models.TextField(blank=True, help_text='The fourth classification level: Intermediate', null=True, verbose_name='Intermediate'), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
# Generated by Django 3.0.8 on 2020-07-30 04:48 | ||
|
||
from django.db import migrations, models | ||
import uuid | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('taxonomy', '0033_auto_20200723_1625'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='community', | ||
name='source_id', | ||
field=models.CharField(default=uuid.UUID('ee5d6854-d21f-11ea-a056-87bd367653c6'), help_text='The ID of the record in the original source, if available.', max_length=1000, verbose_name='Source ID'), | ||
), | ||
migrations.AlterField( | ||
model_name='hbvfamily', | ||
name='class_name', | ||
field=models.CharField(blank=True, help_text='', max_length=1000, null=True, verbose_name='Class'), | ||
), | ||
migrations.AlterField( | ||
model_name='hbvfamily', | ||
name='division_name', | ||
field=models.CharField(blank=True, help_text='', max_length=1000, null=True, verbose_name='Division'), | ||
), | ||
migrations.AlterField( | ||
model_name='hbvfamily', | ||
name='family_name', | ||
field=models.CharField(blank=True, help_text='', max_length=1000, null=True, verbose_name='Family Name'), | ||
), | ||
migrations.AlterField( | ||
model_name='hbvfamily', | ||
name='kingdom_name', | ||
field=models.CharField(blank=True, help_text='', max_length=1000, null=True, verbose_name='Kingdom'), | ||
), | ||
migrations.AlterField( | ||
model_name='hbvfamily', | ||
name='order_name', | ||
field=models.CharField(blank=True, help_text='', max_length=1000, null=True, verbose_name='Order Name'), | ||
), | ||
migrations.AlterField( | ||
model_name='hbvfamily', | ||
name='supra_code', | ||
field=models.CharField(blank=True, help_text='', max_length=1000, null=True, verbose_name='HBV Suprafamily Group Code'), | ||
), | ||
migrations.AlterField( | ||
model_name='hbvgroup', | ||
name='class_id', | ||
field=models.CharField(blank=True, help_text='', max_length=1000, null=True, verbose_name='HBV Suprafamily Group Code'), | ||
), | ||
migrations.AlterField( | ||
model_name='hbvparent', | ||
name='class_id', | ||
field=models.CharField(blank=True, help_text='', max_length=100, null=True, verbose_name='WACensus ClassID'), | ||
), | ||
migrations.AlterField( | ||
model_name='hbvspecies', | ||
name='consv_code', | ||
field=models.CharField(blank=True, help_text='', max_length=100, null=True, verbose_name='Conservation Code'), | ||
), | ||
migrations.AlterField( | ||
model_name='hbvspecies', | ||
name='naturalised', | ||
field=models.CharField(blank=True, help_text='', max_length=100, null=True, verbose_name='Naturalised'), | ||
), | ||
migrations.AlterField( | ||
model_name='hbvspecies', | ||
name='ranking', | ||
field=models.CharField(blank=True, help_text='', max_length=100, null=True, verbose_name='Ranking'), | ||
), | ||
migrations.AlterField( | ||
model_name='hbvvernacular', | ||
name='name', | ||
field=models.CharField(blank=True, help_text='', max_length=1000, null=True, verbose_name='Name'), | ||
), | ||
migrations.AlterField( | ||
model_name='hbvvernacular', | ||
name='vernacular', | ||
field=models.CharField(blank=True, help_text='', max_length=1000, null=True, verbose_name='Vernacular Name'), | ||
), | ||
] |