-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update uploader to accommodate sanparks template (#4038)
* Update uploader to accommodate sanparks template * Fix upload issues
- Loading branch information
1 parent
d47e091
commit 86ac1f1
Showing
7 changed files
with
175 additions
and
57 deletions.
There are no files selected for viewing
51 changes: 51 additions & 0 deletions
51
...igrations/0420_remove_biologicalcollectionrecord_additional_observation_sites_and_more.py
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,51 @@ | ||
# Generated by Django 4.2.11 on 2024-07-03 14:22 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('bims', '0419_rename_role_link_profile_role'), | ||
] | ||
|
||
operations = [ | ||
migrations.RemoveField( | ||
model_name='biologicalcollectionrecord', | ||
name='additional_observation_sites', | ||
), | ||
migrations.RemoveField( | ||
model_name='locationsite', | ||
name='additional_observation_sites', | ||
), | ||
migrations.AddField( | ||
model_name='biologicalcollectionrecord', | ||
name='data_type', | ||
field=models.CharField(blank=True, choices=[('private', 'Private'), ('public', 'Public'), ('sensitive', 'Sensitive')], default='', help_text='Specify data sharing level of this record', max_length=128), | ||
), | ||
migrations.AddField( | ||
model_name='biologicalcollectionrecord', | ||
name='date_accuracy', | ||
field=models.CharField(blank=True, choices=[('accurate', 'Accurate'), ('artificial', 'Artificial')], default='', help_text='Indicate if date is accurate or artificial', max_length=64), | ||
), | ||
migrations.AlterField( | ||
model_name='sitesetting', | ||
name='iucn_api_key', | ||
field=models.CharField(blank=True, default='', help_text='Token key for IUCN api', max_length=255), | ||
), | ||
migrations.AlterField( | ||
model_name='sitesetting', | ||
name='recaptcha_secret_key', | ||
field=models.CharField(blank=True, default='', max_length=150), | ||
), | ||
migrations.AlterField( | ||
model_name='sitesetting', | ||
name='recaptcha_site_key', | ||
field=models.CharField(blank=True, default='', max_length=150), | ||
), | ||
migrations.AlterField( | ||
model_name='sitesetting', | ||
name='site_code_generator', | ||
field=models.CharField(blank=True, choices=[('bims', 'BIMS (2 Site Name + 2 Site Description + Site count)'), ('fbis', 'FBIS (2 Secondary catchment + 4 River + Site count)'), ('rbis', 'RBIS (Catchment + Province ID + District ID + Site count)'), ('sanparks', 'SANPARKS (1st three park name + 1st two site description + site count)')], default='bims', help_text='How site code generated', max_length=50), | ||
), | ||
] |
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
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
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