Extend the length of some charfields, per Tom's email
This commit is contained in:
@ -404,22 +404,16 @@ class CaseStudy(models.Model):
|
||||
)
|
||||
|
||||
# 1.11
|
||||
project_owners = models.CharField(
|
||||
project_owners = models.TextField(
|
||||
verbose_name=_("Project and facility owners"),
|
||||
help_text=_("List companies or organisations that own the project and/or facilities. Separate with a comma."),
|
||||
max_length=120,
|
||||
default=None,
|
||||
null=True,
|
||||
help_text=_("List companies or organisations that own the project and/or facilities. Separate with a new line."),
|
||||
blank=True
|
||||
)
|
||||
|
||||
# 1.12
|
||||
shareholders = models.CharField(
|
||||
shareholders = models.TextField(
|
||||
verbose_name=_("Shareholders of the project owners"),
|
||||
help_text=_("List shareholders of the project owners you've just listed. Separate with a comma."),
|
||||
max_length=120,
|
||||
default=None,
|
||||
null=True,
|
||||
help_text=_("List shareholders of the project owners you've just listed. Separate with a new line."),
|
||||
blank=True
|
||||
)
|
||||
|
||||
@ -441,13 +435,10 @@ class CaseStudy(models.Model):
|
||||
)
|
||||
|
||||
# 1.14
|
||||
energy_customers = models.CharField(
|
||||
energy_customers = models.TextField(
|
||||
verbose_name=_("Energy consumers"),
|
||||
help_text=_("List any wholesale energy customers that take energy from the development. E.g. 'national \
|
||||
grids' or private energy suppliers."),
|
||||
max_length=120,
|
||||
default=None,
|
||||
null=True,
|
||||
grids' or private energy suppliers. Please separate with a newline."),
|
||||
blank=True
|
||||
)
|
||||
|
||||
@ -612,12 +603,9 @@ class CaseStudy(models.Model):
|
||||
)
|
||||
|
||||
# 2.1.5
|
||||
technical_or_economic_details = models.CharField(
|
||||
technical_or_economic_details = models.TextField(
|
||||
verbose_name=_("Additional technical or economic details"),
|
||||
help_text=_("Specify any additional technical or economic details relating to the project."),
|
||||
max_length=500,
|
||||
default=None,
|
||||
null=True,
|
||||
blank=True
|
||||
)
|
||||
|
||||
@ -967,12 +955,9 @@ class CaseStudy(models.Model):
|
||||
)
|
||||
|
||||
# 3.2.4.3
|
||||
participation_mechanisms = models.CharField(
|
||||
participation_mechanisms = models.TextField(
|
||||
verbose_name=_("What mechanisms of participation have been used?"),
|
||||
help_text=_("e.g. direct action, local referendums, legal cases, letters or petitions etc"),
|
||||
max_length=512,
|
||||
default=None,
|
||||
null=True,
|
||||
blank=True
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user