102 lines
4.0 KiB
Python
102 lines
4.0 KiB
Python
# -*- coding: utf-8 -*-
|
|
# Generated by Django 1.11.6 on 2017-10-12 16:10
|
|
from __future__ import unicode_literals
|
|
|
|
import django.contrib.gis.db.models.fields
|
|
import django_countries.fields
|
|
from django.db import migrations
|
|
from django.db import models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [("map", "0011_casestudy_generation_technology")]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
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="Generation technology detail",
|
|
),
|
|
),
|
|
migrations.AddField(
|
|
model_name="casestudy",
|
|
name="generation_technology_other",
|
|
field=models.CharField(
|
|
blank=True,
|
|
default=None,
|
|
help_text="If you selected other, please specify the generation technology (e.g. tidal, wave etc)",
|
|
max_length=200,
|
|
null=True,
|
|
verbose_name="Other generation type",
|
|
),
|
|
),
|
|
migrations.AddField(
|
|
model_name="casestudy",
|
|
name="total_generation_capacity",
|
|
field=models.IntegerField(
|
|
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)",
|
|
),
|
|
),
|
|
migrations.AlterField(
|
|
model_name="casestudy",
|
|
name="country",
|
|
field=django_countries.fields.CountryField(
|
|
help_text="Select the country of the project",
|
|
max_length=2,
|
|
verbose_name="Country field",
|
|
),
|
|
),
|
|
migrations.AlterField(
|
|
model_name="casestudy",
|
|
name="generation_technology",
|
|
field=models.CharField(
|
|
blank=True,
|
|
choices=[
|
|
("SSWE", "Small-scale wind energy (less than 500kW)"),
|
|
("LSWE", "Large-scale wind energy (more than 500kW)"),
|
|
("SSPV", "Small-scale photovoltaic electricity (less than 500kW)"),
|
|
("LSPV", "Large-scale photovoltaic electricity (more than 500kW)"),
|
|
(
|
|
"STHE",
|
|
"Solar thermal electricity (e.g using parabolic reflectors)",
|
|
),
|
|
("SHYD", "Small hydroelectric (less than 1MW)"),
|
|
("MHYD", "Medium hydroelectric (between 1-20MW)"),
|
|
(
|
|
"LHYD",
|
|
"Large hydroelectric (more than 20MW - often not considered renewable)",
|
|
),
|
|
("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(
|
|
model_name="casestudy",
|
|
name="location",
|
|
field=django.contrib.gis.db.models.fields.PointField(
|
|
help_text="Place a marker using the tools on the left of the map. Zoom in as far as you can so the placement is accurate (important)",
|
|
srid=4326,
|
|
verbose_name="Project location",
|
|
),
|
|
),
|
|
]
|