Add DELETE markers for fields to be nuked

This commit is contained in:
Anna Sidwell 2018-12-02 02:10:35 +00:00
parent 144ae63eab
commit b7b07aa180
2 changed files with 55 additions and 7 deletions

View File

@ -0,0 +1,48 @@
# Generated by Django 2.1.1 on 2018-12-02 02:09
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('map', '0072_auto_20181201_2315'),
]
operations = [
migrations.AlterField(
model_name='casestudy',
name='approximate_total_investment',
field=models.PositiveIntegerField(blank=True, default=None, help_text='Enter the approximate total investment in USD ($).', null=True, verbose_name='DELETE - Approximate total investment'),
),
migrations.AlterField(
model_name='casestudy',
name='discharge_time',
field=models.DecimalField(blank=True, decimal_places=3, help_text='Enter the time it takes to discharge from full capacity at maximum power output (in hours).', max_digits=6, null=True, verbose_name='DELETE - Time for discharge from full capacity'),
),
migrations.AlterField(
model_name='casestudy',
name='generation_equipment_supplier',
field=models.TextField(blank=True, help_text='Enter the supplier of the generation equipment. (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.)', verbose_name='DELETE - Generation equipment supplier(s)'),
),
migrations.AlterField(
model_name='casestudy',
name='maximum_power_output',
field=models.DecimalField(blank=True, decimal_places=3, help_text='Enter the maximum power output of the storage system in kilowatts (kW).', max_digits=12, null=True, verbose_name='DELETE - Maximum power output'),
),
migrations.AlterField(
model_name='casestudy',
name='people_affected_indigenous',
field=models.TextField(blank=True, help_text='What group or groups of indigenous people are affected by this project? Please separate by newline.', verbose_name='DELETE - Indigenous people affected'),
),
migrations.AlterField(
model_name='casestudy',
name='potential_partnerships',
field=models.CharField(blank=True, help_text='Are you looking for partnerships or do you have any clearly identified need? If so, please describe it here.', max_length=512, verbose_name='DELETE - Describe potential partnerships'),
),
migrations.AlterField(
model_name='casestudy',
name='technical_or_economic_details',
field=models.TextField(blank=True, help_text='Specify any additional technical or economic details relating to the project.', verbose_name='DELETE - Additional technical or economic details'),
),
]

View File

@ -431,7 +431,7 @@ class CaseStudy(models.Model):
# XXX Delete after migration - merge into affected_communities # XXX Delete after migration - merge into affected_communities
people_affected_indigenous = models.TextField( people_affected_indigenous = models.TextField(
verbose_name=_("Indigenous people affected"), verbose_name=_("DELETE - Indigenous people affected"),
help_text=_("What group or groups of indigenous people are affected by this project? \ help_text=_("What group or groups of indigenous people are affected by this project? \
Please separate by newline."), Please separate by newline."),
blank=True blank=True
@ -675,7 +675,7 @@ class CaseStudy(models.Model):
# XXX Delete after migration - merge into contractor_or_supplier_of_technology # XXX Delete after migration - merge into contractor_or_supplier_of_technology
generation_equipment_supplier = models.TextField( generation_equipment_supplier = models.TextField(
verbose_name=_("Generation equipment supplier(s)"), verbose_name=_("DELETE - Generation equipment supplier(s)"),
help_text=_("Enter the supplier of the generation equipment. (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.)"), help_text=_("Enter the supplier of the generation equipment. (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.)"),
blank=True blank=True
) )
@ -690,7 +690,7 @@ class CaseStudy(models.Model):
# XXX Delete after migration - merge into additional_technical_details # XXX Delete after migration - merge into additional_technical_details
technical_or_economic_details = models.TextField( technical_or_economic_details = models.TextField(
verbose_name=_("Additional technical or economic details"), verbose_name=_("DELETE - Additional technical or economic details"),
help_text=_("Specify any additional technical or economic details relating to the project."), help_text=_("Specify any additional technical or economic details relating to the project."),
blank=True blank=True
) )
@ -729,7 +729,7 @@ class CaseStudy(models.Model):
# XXX Delete after migration - no merge # XXX Delete after migration - no merge
maximum_power_output = models.DecimalField( maximum_power_output = models.DecimalField(
verbose_name=_('Maximum power output'), verbose_name=_('DELETE - Maximum power output'),
help_text=_('Enter the maximum power output of the storage system in kilowatts (kW).'), help_text=_('Enter the maximum power output of the storage system in kilowatts (kW).'),
max_digits=12, max_digits=12,
decimal_places=3, decimal_places=3,
@ -739,7 +739,7 @@ class CaseStudy(models.Model):
# XXX Delete after migration - no merge # XXX Delete after migration - no merge
discharge_time = models.DecimalField( discharge_time = models.DecimalField(
verbose_name=_('Time for discharge from full capacity'), verbose_name=_('DELETE - Time for discharge from full capacity'),
help_text=_('Enter the time it takes to discharge from full capacity at maximum power output (in hours).'), help_text=_('Enter the time it takes to discharge from full capacity at maximum power output (in hours).'),
max_digits=6, max_digits=6,
decimal_places=3, decimal_places=3,
@ -756,7 +756,7 @@ class CaseStudy(models.Model):
# XXX Delete after migration - merge into total_investment # XXX Delete after migration - merge into total_investment
approximate_total_investment = models.PositiveIntegerField( approximate_total_investment = models.PositiveIntegerField(
verbose_name=_('Approximate total investment'), verbose_name=_('DELETE - Approximate total investment'),
help_text=_('Enter the approximate total investment in USD ($).'), help_text=_('Enter the approximate total investment in USD ($).'),
blank=True, blank=True,
default=None, default=None,
@ -992,7 +992,7 @@ class CaseStudy(models.Model):
# XXX delete after migration - merge with identified_partnerships # XXX delete after migration - merge with identified_partnerships
potential_partnerships = models.CharField( potential_partnerships = models.CharField(
verbose_name=_("Describe potential partnerships"), verbose_name=_("DELETE - Describe potential partnerships"),
help_text=_("Are you looking for partnerships or do you have any clearly identified need? If so, please \ help_text=_("Are you looking for partnerships or do you have any clearly identified need? If so, please \
describe it here."), describe it here."),
max_length=512, max_length=512,