ojuso-map/apps/map/migrations/0004_auto_20171006_1559.py
2019-08-20 00:10:20 +02:00

218 lines
8.5 KiB
Python

# -*- coding: utf-8 -*-
# Generated by Django 1.10.7 on 2017-10-06 15:59
from __future__ import unicode_literals
from django.db import migrations
from django.db import models
class Migration(migrations.Migration):
dependencies = [("map", "0003_auto_20170521_0643")]
operations = [
migrations.RemoveField(model_name="casestudy", name="affects_indigenous"),
migrations.RemoveField(
model_name="casestudy", name="affects_indigenous_reason"
),
migrations.RemoveField(model_name="casestudy", name="associated_companies"),
migrations.RemoveField(model_name="casestudy", name="commodities"),
migrations.RemoveField(model_name="casestudy", name="description"),
migrations.RemoveField(model_name="casestudy", name="financiers"),
migrations.RemoveField(model_name="casestudy", name="generation_type"),
migrations.RemoveField(model_name="casestudy", name="important_lenders"),
migrations.RemoveField(model_name="casestudy", name="like_to_engage_developer"),
migrations.RemoveField(model_name="casestudy", name="like_to_engage_investors"),
migrations.RemoveField(model_name="casestudy", name="link_to_forum"),
migrations.RemoveField(model_name="casestudy", name="project_name"),
migrations.RemoveField(model_name="casestudy", name="proposed_completion"),
migrations.RemoveField(model_name="casestudy", name="proposed_start"),
migrations.RemoveField(model_name="casestudy", name="references"),
migrations.RemoveField(model_name="casestudy", name="supply_chain"),
migrations.AddField(
model_name="casestudy",
name="Affects Indigenous - Details",
field=models.CharField(
default="",
help_text="What group of indigenous people does the community belong to?",
max_length=256,
),
preserve_default=False,
),
migrations.AddField(
model_name="casestudy",
name="Affects indigenous people?",
field=models.BooleanField(
default=False, help_text="Does the project affect indigenous people?"
),
preserve_default=False,
),
migrations.AddField(
model_name="casestudy",
name="Approximate land area",
field=models.IntegerField(
default=0, help_text="The area of land covered by the project (in km²)"
),
preserve_default=False,
),
migrations.AddField(
model_name="casestudy",
name="Community Voices",
field=models.TextField(
default="",
help_text="Add any direct quotes from members of the community that relate to this project",
),
preserve_default=False,
),
migrations.AddField(
model_name="casestudy",
name="Describe the ecosystem",
field=models.CharField(
default="",
help_text="In your own words, add more detail about the ecosystem.",
max_length=256,
),
preserve_default=False,
),
migrations.AddField(
model_name="casestudy",
name="Entry Name",
field=models.CharField(
default="",
help_text="Enter the name of the entry. This should usually be the name of project.",
max_length=128,
),
preserve_default=False,
),
migrations.AddField(
model_name="casestudy",
name="Full Description",
field=models.TextField(
default="",
help_text="Describe the project in full. Separate paragraphs with a new line Please add as much detail as you feel is necessary here.",
),
preserve_default=False,
),
migrations.AddField(
model_name="casestudy",
name="Land ownership",
field=models.CharField(
choices=[
("PRI", "Private Land"),
("PUB", "Public Land"),
("COM", "Community Land"),
("OTH", "Other"),
],
default="",
help_text="What type of ownership does the land fall under?",
max_length=3,
),
preserve_default=False,
),
migrations.AddField(
model_name="casestudy",
name="Land ownership details",
field=models.CharField(
default="",
help_text="Add any details and other remarks about the land ownership",
max_length=256,
),
preserve_default=False,
),
migrations.AddField(
model_name="casestudy",
name="Location",
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,
),
preserve_default=False,
),
migrations.AddField(
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,
),
preserve_default=False,
),
migrations.AddField(
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,
),
preserve_default=False,
),
migrations.AddField(
model_name="casestudy",
name="Status of Project",
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,
),
preserve_default=False,
),
migrations.AddField(
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,
),
preserve_default=False,
),
migrations.AddField(
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,
),
preserve_default=False,
),
]