47 lines
1.4 KiB
Python
47 lines
1.4 KiB
Python
# -*- coding: utf-8 -*-
|
|
# Generated by Django 1.11.6 on 2017-10-25 20:35
|
|
from __future__ import unicode_literals
|
|
|
|
from django.db import migrations
|
|
from django.db import models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [("map", "0013_auto_20171012_1640")]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name="casestudy",
|
|
name="power_technology",
|
|
field=models.CharField(
|
|
blank=True,
|
|
choices=[
|
|
("PT", "Power transmission (grid lines, substations etc)"),
|
|
(
|
|
"ES",
|
|
"Energy storage (pumped storage, compressed air, battery systems etc",
|
|
),
|
|
("OT", "Others"),
|
|
],
|
|
default=None,
|
|
help_text="Select the related energy technology.",
|
|
max_length=2,
|
|
null=True,
|
|
verbose_name="Power technology",
|
|
),
|
|
),
|
|
migrations.AddField(
|
|
model_name="casestudy",
|
|
name="power_technology_other",
|
|
field=models.CharField(
|
|
blank=True,
|
|
default=None,
|
|
help_text="If you answered 'others', please specify the power technologies.",
|
|
max_length=128,
|
|
null=True,
|
|
verbose_name="Other power technology",
|
|
),
|
|
),
|
|
]
|