Run black over entire codebase
This commit is contained in:
@ -7,39 +7,82 @@ from django.db import migrations, models
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('map', '0016_auto_20171031_1442'),
|
||||
]
|
||||
dependencies = [("map", "0016_auto_20171031_1442")]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='casestudy',
|
||||
name='associated_infrastructure',
|
||||
field=models.CharField(blank=True, default=None, help_text='List any associated infrastructure in the locality (e.g. tailings dams/mine waste storage and treatment facilities; ore processing facilities; smelting facilities; hydroelectric dams/energy infrastructure; transport infrastructure e.g. roads or rail.', max_length=256, null=True, verbose_name='Associated infrastructure in the locality'),
|
||||
model_name="casestudy",
|
||||
name="associated_infrastructure",
|
||||
field=models.CharField(
|
||||
blank=True,
|
||||
default=None,
|
||||
help_text="List any associated infrastructure in the locality (e.g. tailings dams/mine waste storage and treatment facilities; ore processing facilities; smelting facilities; hydroelectric dams/energy infrastructure; transport infrastructure e.g. roads or rail.",
|
||||
max_length=256,
|
||||
null=True,
|
||||
verbose_name="Associated infrastructure in the locality",
|
||||
),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='casestudy',
|
||||
name='discharge_time',
|
||||
field=models.BigIntegerField(blank=True, default=None, help_text='Enter the time it takes to discharge from full capacity at maximum power output (in seconds) (1h=3600s)', null=True, verbose_name='Time for discharge from full capacity'),
|
||||
model_name="casestudy",
|
||||
name="discharge_time",
|
||||
field=models.BigIntegerField(
|
||||
blank=True,
|
||||
default=None,
|
||||
help_text="Enter the time it takes to discharge from full capacity at maximum power output (in seconds) (1h=3600s)",
|
||||
null=True,
|
||||
verbose_name="Time for discharge from full capacity",
|
||||
),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='casestudy',
|
||||
name='maximum_power_output',
|
||||
field=models.BigIntegerField(blank=True, default=None, help_text='Enter the maximum power output of the storage system in Watts (W). (W=J/s)', null=True, verbose_name='Maximum power output'),
|
||||
model_name="casestudy",
|
||||
name="maximum_power_output",
|
||||
field=models.BigIntegerField(
|
||||
blank=True,
|
||||
default=None,
|
||||
help_text="Enter the maximum power output of the storage system in Watts (W). (W=J/s)",
|
||||
null=True,
|
||||
verbose_name="Maximum power output",
|
||||
),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='casestudy',
|
||||
name='type_of_extraction',
|
||||
field=models.CharField(blank=True, choices=[('SUR', 'Surface (open pit/open cast/open cut mining'), ('SUB', 'Sub-surface (underground mining)'), ('SEA', 'Seabed mining'), ('URB', 'Urban mining/recycling'), ('OTH', 'Other')], default=None, max_length=2, null=True, verbose_name='Type of extraction'),
|
||||
model_name="casestudy",
|
||||
name="type_of_extraction",
|
||||
field=models.CharField(
|
||||
blank=True,
|
||||
choices=[
|
||||
("SUR", "Surface (open pit/open cast/open cut mining"),
|
||||
("SUB", "Sub-surface (underground mining)"),
|
||||
("SEA", "Seabed mining"),
|
||||
("URB", "Urban mining/recycling"),
|
||||
("OTH", "Other"),
|
||||
],
|
||||
default=None,
|
||||
max_length=2,
|
||||
null=True,
|
||||
verbose_name="Type of extraction",
|
||||
),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='casestudy',
|
||||
name='type_of_extraction_other',
|
||||
field=models.CharField(blank=True, default=None, max_length=128, null=True, verbose_name='Other type of extraction'),
|
||||
model_name="casestudy",
|
||||
name="type_of_extraction_other",
|
||||
field=models.CharField(
|
||||
blank=True,
|
||||
default=None,
|
||||
max_length=128,
|
||||
null=True,
|
||||
verbose_name="Other type of extraction",
|
||||
),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='casestudy',
|
||||
name='biomass_detail',
|
||||
field=models.CharField(blank=True, default=None, help_text='If you selected biogas or biomass, please describe the feedstock (where the fuel came from e.g. corn, algae, anaerobic digestion, commercial waste etc)', max_length=200, null=True, verbose_name='Description of feedstock'),
|
||||
model_name="casestudy",
|
||||
name="biomass_detail",
|
||||
field=models.CharField(
|
||||
blank=True,
|
||||
default=None,
|
||||
help_text="If you selected biogas or biomass, please describe the feedstock (where the fuel came from e.g. corn, algae, anaerobic digestion, commercial waste etc)",
|
||||
max_length=200,
|
||||
null=True,
|
||||
verbose_name="Description of feedstock",
|
||||
),
|
||||
),
|
||||
]
|
||||
|
Reference in New Issue
Block a user