ojuso-map/apps/map/migrations/0043_auto_20180329_1044.py

190 lines
6.7 KiB
Python
Raw Normal View History

# -*- coding: utf-8 -*-
# Generated by Django 1.11.6 on 2018-03-29 10:44
from __future__ import unicode_literals
import multiselectfield.db.fields
2019-08-19 21:53:34 +00:00
from django.db import migrations
from django.db import models
import apps.map.validators
class Migration(migrations.Migration):
2019-08-19 21:37:32 +00:00
dependencies = [("map", "0042_auto_20180328_1122")]
operations = [
migrations.AlterField(
2019-08-19 21:37:32 +00:00
model_name="casestudy",
name="community_voices",
field=models.TextField(
blank=True,
default=None,
help_text="Add any direct quotes from members of the community that relate to this project",
null=True,
verbose_name="Community Voices",
),
),
migrations.AlterField(
2019-08-19 21:37:32 +00:00
model_name="casestudy",
name="direct_comms",
field=models.TextField(
blank=True,
default=None,
help_text="Add any reports of direct communication between community members and representatives of developers/companies/investors.",
null=True,
verbose_name="Reports of direct communications",
),
),
migrations.AlterField(
2019-08-19 21:37:32 +00:00
model_name="casestudy",
name="discharge_time",
field=models.DecimalField(
blank=True,
decimal_places=3,
default=None,
help_text="Enter the time it takes to discharge from full capacity at maximum power output (in hours).",
max_digits=6,
null=True,
verbose_name="Time for discharge from full capacity",
),
),
migrations.AlterField(
2019-08-19 21:37:32 +00:00
model_name="casestudy",
name="energy_storage_capacity",
field=models.DecimalField(
blank=True,
decimal_places=3,
default=None,
help_text="Enter the total capacity of the energy storage system in kilowatt-hours (kWh).",
max_digits=20,
null=True,
verbose_name="Energy storage capacity",
),
),
migrations.AlterField(
2019-08-19 21:37:32 +00:00
model_name="casestudy",
name="image_caption",
field=models.CharField(
default=None, max_length=240, null=True, verbose_name="Image caption"
),
),
migrations.AlterField(
2019-08-19 21:37:32 +00:00
model_name="casestudy",
name="image_credit",
field=models.CharField(
default=None, max_length=240, null=True, verbose_name="Image credit(s)"
),
),
migrations.AlterField(
2019-08-19 21:37:32 +00:00
model_name="casestudy",
name="location_context",
field=models.CharField(
choices=[("RUR", "Rural"), ("URB", "Urban"), ("MIX", "Mixed")],
help_text="Select the context that is most applicable to this case study.",
max_length=3,
verbose_name="Location",
),
),
migrations.AlterField(
2019-08-19 21:37:32 +00:00
model_name="casestudy",
name="maximum_power_output",
field=models.DecimalField(
blank=True,
decimal_places=3,
default=None,
help_text="Enter the maximum power output of the storage system in kilowatts (kW).",
max_digits=12,
null=True,
verbose_name="Maximum power output",
),
),
migrations.AlterField(
2019-08-19 21:37:32 +00:00
model_name="casestudy",
name="media_coverage_independent",
field=models.TextField(
default=None,
help_text="Provide any links to grassroots/independent media coverage.",
null=True,
verbose_name="Independent grassroots reports",
),
),
migrations.AlterField(
2019-08-19 21:37:32 +00:00
model_name="casestudy",
name="media_coverage_mainstream",
field=models.TextField(
default=None,
help_text="Provide any links to mainstream media coverage.",
null=True,
verbose_name="Links to media reports",
),
),
migrations.AlterField(
2019-08-19 21:37:32 +00:00
model_name="casestudy",
name="type_of_ecosystem",
field=multiselectfield.db.fields.MultiSelectField(
blank=True,
choices=[
(
"Water Based",
(
("MARINE", "Marine (e.g. Ocean, Sea)"),
("FRESH", "Freshwater (e.g. Freshwater, Lake)"),
),
),
(
"Land Based",
(
("FOREST", "Forest/Jungle"),
("AGRI", "Agricultural Land"),
("GRASS", "Grassland"),
("DESERT", "Desert (Tundra, Ice or Sand)"),
("WETLND", "Wetland (Marsh, Mangrove, Peat Soil)"),
("URBAN", "Urban"),
),
),
],
default=None,
help_text="Select the most relevant type of ecosystem.",
max_length=6,
null=True,
verbose_name="Type of ecosystem",
),
),
migrations.AlterField(
2019-08-19 21:37:32 +00:00
model_name="casestudy",
name="video",
field=models.URLField(
blank=True,
default=None,
help_text="Copy the URL to a related YouTube™ video that relates to the case study.",
max_length=43,
null=True,
validators=[apps.map.validators.YoutubeURLValidator()],
verbose_name="YouTube Video",
),
),
migrations.AlterField(
2019-08-19 21:37:32 +00:00
model_name="casestudy",
name="video_caption",
field=models.CharField(
blank=True,
default=None,
max_length=240,
null=True,
verbose_name="Video caption",
),
),
migrations.AlterField(
2019-08-19 21:37:32 +00:00
model_name="casestudy",
name="video_credit",
field=models.CharField(
blank=True,
default=None,
max_length=240,
null=True,
verbose_name="Video credit(s)",
),
),
]