ojuso-map/apps/map/migrations/0005_auto_20171006_2033.py

236 lines
9.2 KiB
Python
Raw Normal View History

# -*- coding: utf-8 -*-
# Generated by Django 1.10.7 on 2017-10-06 20:33
from __future__ import unicode_literals
2019-08-19 21:53:34 +00:00
from django.db import migrations
from django.db import models
class Migration(migrations.Migration):
2019-08-19 21:37:32 +00:00
dependencies = [("map", "0004_auto_20171006_1559")]
operations = [
migrations.RemoveField(
2019-08-19 21:37:32 +00:00
model_name="casestudy", name="Affects Indigenous - Details"
),
migrations.RemoveField(
2019-08-19 21:37:32 +00:00
model_name="casestudy", name="Affects indigenous people?"
),
migrations.RemoveField(model_name="casestudy", name="Approximate land area"),
migrations.RemoveField(model_name="casestudy", name="Community Voices"),
migrations.RemoveField(model_name="casestudy", name="Describe the ecosystem"),
migrations.RemoveField(model_name="casestudy", name="Entry Name"),
migrations.RemoveField(model_name="casestudy", name="Full Description"),
migrations.RemoveField(model_name="casestudy", name="Land ownership"),
migrations.RemoveField(model_name="casestudy", name="Land ownership details"),
migrations.RemoveField(model_name="casestudy", name="Location"),
migrations.RemoveField(model_name="casestudy", name="Positive or negative?"),
migrations.RemoveField(model_name="casestudy", name="Sector of economy"),
migrations.RemoveField(model_name="casestudy", name="Status of Project"),
migrations.RemoveField(model_name="casestudy", name="Synopsis"),
migrations.RemoveField(model_name="casestudy", name="Type of ecosystem"),
migrations.AddField(
2019-08-19 21:37:32 +00:00
model_name="casestudy",
name="affects_indigenous",
field=models.BooleanField(
default=None,
help_text="Does the project affect indigenous people?",
verbose_name="Affects indigenous people?",
),
preserve_default=False,
),
migrations.AddField(
2019-08-19 21:37:32 +00:00
model_name="casestudy",
name="affects_indigenous_detail",
field=models.CharField(
default=None,
help_text="What group of indigenous people does the community belong to?",
max_length=256,
verbose_name="Affects Indigenous - Details",
),
preserve_default=False,
),
migrations.AddField(
2019-08-19 21:37:32 +00:00
model_name="casestudy",
name="area_of_land",
field=models.IntegerField(
default=None,
help_text="The area of land covered by the project (in km²)",
verbose_name="Approximate land area",
),
preserve_default=False,
),
migrations.AddField(
2019-08-19 21:37:32 +00:00
model_name="casestudy",
name="community_voices",
field=models.TextField(
default=None,
help_text="Add any direct quotes from members of the community that relate to this project",
verbose_name="Community Voices",
),
preserve_default=False,
),
migrations.AddField(
2019-08-19 21:37:32 +00:00
model_name="casestudy",
name="describe_ecosystem",
field=models.CharField(
default=None,
help_text="In your own words, add more detail about the ecosystem.",
max_length=256,
verbose_name="Describe the ecosystem",
),
preserve_default=False,
),
migrations.AddField(
2019-08-19 21:37:32 +00:00
model_name="casestudy",
name="entry_name",
field=models.CharField(
default=None,
help_text="Enter the name of the entry. This should usually be the name of project.",
max_length=128,
verbose_name="Entry Name",
),
preserve_default=False,
),
migrations.AddField(
2019-08-19 21:37:32 +00:00
model_name="casestudy",
name="full_description",
field=models.TextField(
default=None,
help_text="Describe the project in full. Separate paragraphs with a new line Please add as much detail as you feel is necessary here.",
verbose_name="Full Description",
),
preserve_default=False,
),
migrations.AddField(
2019-08-19 21:37:32 +00:00
model_name="casestudy",
name="land_ownership",
field=models.CharField(
choices=[
("PRI", "Private Land"),
("PUB", "Public Land"),
("COM", "Community Land"),
("OTH", "Other"),
],
default=None,
help_text="What type of ownership does the land fall under?",
max_length=3,
verbose_name="Land ownership",
),
preserve_default=False,
),
migrations.AddField(
2019-08-19 21:37:32 +00:00
model_name="casestudy",
name="land_ownership_details",
field=models.CharField(
default=None,
help_text="Add any details and other remarks about the land ownership",
max_length=256,
verbose_name="Land ownership details",
),
preserve_default=False,
),
migrations.AddField(
2019-08-19 21:37:32 +00:00
model_name="casestudy",
name="location_context",
field=models.CharField(
choices=[("RUR", "Rural"), ("URB", "Urban")],
default=None,
help_text="Select the context that is most applicable to this case study.",
max_length=1,
verbose_name="Location",
),
preserve_default=False,
),
migrations.AddField(
2019-08-19 21:37:32 +00:00
model_name="casestudy",
name="positive_or_negative",
field=models.CharField(
choices=[("POS", "Positive"), ("NEG", "Negative")],
default=None,
help_text="Is the case study a positive case or a negative case?",
max_length=1,
verbose_name="Positive or negative?",
),
preserve_default=False,
),
migrations.AddField(
2019-08-19 21:37:32 +00:00
model_name="casestudy",
name="project_status",
field=models.CharField(
choices=[
("EXSTNG", "Existing Project"),
("UCONST", "Under Construction"),
("PROJCD", "Projected Project"),
],
default=None,
help_text="What is the status of the current project?",
max_length=6,
verbose_name="Status of Project",
),
preserve_default=False,
),
migrations.AddField(
2019-08-19 21:37:32 +00:00
model_name="casestudy",
name="sector_of_economy",
field=models.CharField(
choices=[
(
"Renewable Energy Generation",
(("WND", "Wind"), ("SOL", "Solar"), ("HYD", "Hydro")),
),
("PG", "Power Grids"),
("SM", "Supply of Minerals"),
],
default=None,
help_text="Which sector of the renewable energy economy is most relevant?",
max_length=2,
verbose_name="Sector of economy",
),
preserve_default=False,
),
migrations.AddField(
2019-08-19 21:37:32 +00:00
model_name="casestudy",
name="synopsis",
field=models.TextField(
default=None,
help_text="Briefly describe the project. This will be displayed at the top of the case study page. Maximum 500 chars (about 3½ tweets)",
max_length=500,
verbose_name="Synopsis",
),
preserve_default=False,
),
migrations.AddField(
2019-08-19 21:37:32 +00:00
model_name="casestudy",
name="type_of_ecosystem",
field=models.CharField(
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,
verbose_name="Type of ecosystem",
),
preserve_default=False,
),
]