2017-10-31 14:57:26 +00:00
# -*- 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
2019-08-19 21:53:34 +00:00
from django . db import migrations
from django . db import models
2017-10-31 14:57:26 +00:00
class Migration ( migrations . Migration ) :
2019-08-19 21:37:32 +00:00
dependencies = [ ( " map " , " 0011_casestudy_generation_technology " ) ]
2017-10-31 14:57:26 +00:00
operations = [
migrations . AddField (
2019-08-19 21:37:32 +00:00
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 " ,
) ,
2017-10-31 14:57:26 +00:00
) ,
migrations . AddField (
2019-08-19 21:37:32 +00:00
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 " ,
) ,
2017-10-31 14:57:26 +00:00
) ,
migrations . AddField (
2019-08-19 21:37:32 +00:00
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) " ,
) ,
2017-10-31 14:57:26 +00:00
) ,
migrations . AlterField (
2019-08-19 21:37:32 +00:00
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 " ,
) ,
2017-10-31 14:57:26 +00:00
) ,
migrations . AlterField (
2019-08-19 21:37:32 +00:00
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 " ,
) ,
2017-10-31 14:57:26 +00:00
) ,
migrations . AlterField (
2019-08-19 21:37:32 +00:00
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 " ,
) ,
2017-10-31 14:57:26 +00:00
) ,
]