ojuso-map/apps/map/migrations/0013_auto_20171012_1640.py

96 lines
3.5 KiB
Python
Raw Normal View History

# -*- coding: utf-8 -*-
# Generated by Django 1.11.6 on 2017-10-12 16:40
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", "0012_auto_20171012_1610")]
operations = [
migrations.AddField(
2019-08-19 21:37:32 +00:00
model_name="casestudy",
name="technical_or_economic_details",
field=models.CharField(
blank=True,
default=None,
help_text="Specify any additional technical or economic details relating to the project.",
max_length=500,
null=True,
verbose_name="Additional technical or economic details",
),
),
migrations.AddField(
2019-08-19 21:37:32 +00:00
model_name="casestudy",
name="total_investment",
field=models.IntegerField(
blank=True,
default=None,
help_text="The approximate total investment for the project in USD.",
null=True,
verbose_name="Total investment (in USD)",
),
),
migrations.AlterField(
2019-08-19 21:37:32 +00:00
model_name="casestudy",
name="generation_technology",
field=models.CharField(
blank=True,
choices=[
(
"Wind energy",
(
("SSWE", "Small-scale (less than 500kW)"),
("LSWE", "Large-scale (more than 500kW)"),
),
),
(
"Photovoltaic electricity",
(
("SSPV", "Small-scale (less than 500kW)"),
("LSPV", "Large-scale (more than 500kW)"),
),
),
(
"Hydroelectric",
(
("SHYD", "Small-scale (less than 1MW)"),
("MHYD", "Medium-scale (between 1-20MW)"),
(
"LHYD",
"Large-scale (more than 20MW - often not considered renewable)",
),
),
),
(
"STHE",
"Solar thermal electricity (e.g using parabolic reflectors)",
),
("GEOT", "Geothermal electricity"),
("BIOG", "Biogas turbine"),
("OTHB", "Other biomass (including liquid/solid biofuel)"),
("OTHR", "Other (tidal, wave etc)"),
],
default=None,
help_text="Select the type of renewable energy generation that most applies to this case study.",
max_length=4,
null=True,
verbose_name="Generation technology",
),
),
migrations.AlterField(
2019-08-19 21:37:32 +00:00
model_name="casestudy",
name="total_generation_capacity",
field=models.PositiveIntegerField(
blank=True,
default=None,
help_text="Please enter the total generation capacity of the project in kW",
null=True,
verbose_name="Total generation capacity (in kW)",
),
),
]