Add back in previously removed fields for backward-compat

This commit is contained in:
Anna Sidwell 2018-11-25 14:58:34 +00:00
parent 7fd961f511
commit d6bae3b941

View File

@ -742,12 +742,32 @@ class CaseStudy(models.Model):
null=True,
)
# XXX Delete after migration
maximum_power_output = models.DecimalField(
verbose_name=_('Maximum power output'),
help_text=_('Enter the maximum power output of the storage system in kilowatts (kW).'),
max_digits=12,
decimal_places=3,
blank=True,
null=True,
)
# XXX Delete after migration
discharge_time = models.DecimalField(
verbose_name=_('Time for discharge from full capacity'),
help_text=_('Enter the time it takes to discharge from full capacity at maximum power output (in hours).'),
max_digits=6,
decimal_places=3,
blank=True,
null=True
)
# 2.2.3
contractor_or_supplier_of_technology = models.CharField(
verbose_name=_('Contractor and/or supplier of technology'),
help_text=_('List companies that act as contractors or suppliers  e.g. Siemens Gamesa, GE, Alstom, Vestas, Hanwha Q CELLS, Mitsubishi, First Solar, Jinko Solar, Trina Solar, Suzlon Energy, Statkraft, Shanghai Electric, Ballard Power Systems, Panasonic, etc'),
max_length=256,
blank=True
blank=True,
)
# 2.2.4
@ -769,7 +789,9 @@ class CaseStudy(models.Model):
blank=True
)
## Mining
##
# Mining
##
minerals_or_commodities = models.CharField(
verbose_name=_("Primary mineral mined"),