diff --git a/apps/map/models.py b/apps/map/models.py
index 870f401..405e19e 100644
--- a/apps/map/models.py
+++ b/apps/map/models.py
@@ -429,8 +429,7 @@ class CaseStudy(models.Model):
people_affected_other = models.TextField(
verbose_name=_("Communities or identities – further detail"),
- help_text=_("Please describe further the communities or identities present \
- in the project area."),
+ help_text=_("Please describe further the communities or identities present in the project area."),
blank=True
)
@@ -444,9 +443,9 @@ class CaseStudy(models.Model):
# 1.7
start_year = models.IntegerField(
verbose_name=_("Construction start year"),
- help_text=_("Select the year project construction began. If the project is not yet \
- in construction, select the assumed start year as detailed in company \
- information or media."),
+ help_text=_("Select the year project construction began. If the project is not yet"
+ " in construction, select the assumed start year as detailed in company"
+ " information or media."),
choices=YEAR_CHOICES,
blank=True,
null=True
@@ -455,9 +454,9 @@ class CaseStudy(models.Model):
# 1.8
completion_year = models.IntegerField(
verbose_name=_("Operation start year"),
- help_text=_("Select the year the project's operation and maintenance (O&M) phase began. \
- If the project is not yet in operation, select the year operation is expected \
- to begin as detailed in company information or media."),
+ help_text=_("Select the year the project's operation and maintenance (O&M) phase began."
+ " If the project is not yet in operation, select the year operation is expected"
+ " to begin as detailed in company information or media."),
choices=YEAR_CHOICES,
default=None,
null=True,
@@ -473,24 +472,24 @@ class CaseStudy(models.Model):
# 1.10
full_description = models.TextField(
verbose_name=_("Full description"),
- help_text=_("Describe the project in full. Separate paragraphs with two\
- new lines. Please add as much detail as you feel is necessary\
- here.")
+ help_text=_("Describe the project in full. Separate paragraphs with two"
+ " new lines. Please add as much detail as you feel is necessary"
+ " here.")
)
# 1.11
project_owners = models.TextField(
verbose_name=_("Project and facility owners"),
- help_text=_("List companies or organisations that own the project and/or facilities. \
- Provide company numbers etc. if available. Separate with a new line."),
+ help_text=_("List companies or organisations that own the project and/or facilities."
+ " Provide company numbers etc. if available. Separate with a new line."),
blank=True
)
consultants_contractors = models.TextField(
verbose_name=_("Consultants and contractors"),
- help_text=_("List consultants, planners or organisations that are doing the planning, \
- construction, operation or maintenance work relating to the project \
- and/or facilities. Separate each with a new line."),
+ help_text=_("List consultants, planners or organisations that are doing the planning,"
+ " construction, operation or maintenance work relating to the project"
+ " and/or facilities. Separate each with a new line."),
blank=True
)
@@ -504,8 +503,8 @@ class CaseStudy(models.Model):
# 1.13.1
financial_institutions = MultiSelectField(
verbose_name=_("Financial institutions"),
- help_text=_("Select any financial institutions (public or private) that have, \
- or are considering, extending loans or guarantees to the project."),
+ help_text=_("Select any financial institutions (public or private) that have,"
+ " or are considering, extending loans or guarantees to the project."),
choices=FINANCIAL_INSTITUTIONS,
blank=True
)
@@ -513,8 +512,7 @@ class CaseStudy(models.Model):
# 1.13.2
financial_institutions_other = models.TextField(
verbose_name=_("Financial institutions – other"),
- help_text=_("List any other financial institutions not listed above. \
- Put each on a new line."),
+ help_text=_("List any other financial institutions not listed above. Put each on a new line."),
blank=True
)
@@ -566,17 +564,16 @@ class CaseStudy(models.Model):
# 1.18.1
community_voices = models.TextField(
verbose_name=_("Community Voices"),
- help_text=_("Add any direct quotes from members of the community that \
- relate to this project"),
+ help_text=_("Add any direct quotes from members of the community that relate to this project"),
blank=True,
)
# 1.18.2
direct_comms = models.TextField(
verbose_name=_("Reports of direct communications"),
- help_text=_("Add any reports of direct communication between community members and \
- representatives of developers/companies/investors. If you have files \
- to upload, you can do this in 'other documents' on the 'uploads' tab."),
+ help_text=_("Add any reports of direct communication between community members and"
+ " representatives of developers/companies/investors. If you have files"
+ " to upload, you can do this in 'other documents' on the 'uploads' tab."),
blank=True,
)
@@ -625,20 +622,18 @@ class CaseStudy(models.Model):
# Should be filled in if generation_technology was answered as bio-energy
biomass_detail = models.CharField(
verbose_name=_("Bio-energy feedstock"),
- help_text=_("
\
-
Please describe the source of the fuel and how it is processed/used. \
- Please consider:\
-
\
- - where the fuel came from e.g. corn, forestry, algae, commercial food waste, \
- landfill gas, sewage, livestock farm, etc. \
-
- how it is processed e.g. direct-fired, co-firing with other renewable input, \
- gasification, bacterial decomposition (anaerobic digestion, AD), pyrolysis, \
- small/modular, artificial photosynthesis, fuel cell, etc. \
-
\
- \
-
We do not expect users to know this information, but if you do \
- it may be useful to give a fuller picture.\
-
"),
+ help_text="" + _(
+ "
Please describe the source of the fuel and how it is processed/used. Please consider:"
+ "
"
+ "- where the fuel came from e.g. corn, forestry, algae, commercial food waste,"
+ " landfill gas, sewage, livestock farm, etc.
"
+ "- how it is processed e.g. direct-fired, co-firing with other renewable input,"
+ " gasification, bacterial decomposition (anaerobic digestion, AD), pyrolysis,"
+ " small/modular, artificial photosynthesis, fuel cell, etc.
"
+ "
"
+ "
We do not expect users to know this information, but if you do "
+ " it may be useful to give a fuller picture."
+ ) + "
",
max_length=200,
blank=True
)
@@ -646,10 +641,10 @@ class CaseStudy(models.Model):
# 1.14
energy_customers = models.TextField(
verbose_name=_("Energy service consumers/off-takers"),
- help_text=_("List any energy customers/off-takers that take energy from the \
- development. E.g. 'national grids' or private energy suppliers. \
- Also refer to if carbon markets, credits, blockchain etc. are \
- involved in the process. Please separate with a new line."),
+ help_text=_("List any energy customers/off-takers that take energy from the"
+ " development. E.g. 'national grids' or private energy suppliers."
+ " Also refer to if carbon markets, credits, blockchain etc. are"
+ " involved in the process. Please separate with a new line."),
blank=True
)
@@ -711,10 +706,10 @@ class CaseStudy(models.Model):
# 2.2.5
additional_technical_details = models.TextField(
verbose_name=_("Additional technical or economic details"),
- help_text=_("Add any additional details such as: length, from-to, voltage, \
- substations, power output, (dis)charge rates, how this technology or \
- project interacts with the energy system (e.g. provides reactive power \
- to ensure power supply in phase etc.)"),
+ help_text=_("Add any additional details such as: length, from-to, voltage,"
+ " substations, power output, (dis)charge rates, how this technology or"
+ " project interacts with the energy system (e.g. provides reactive power"
+ " to ensure power supply in phase etc.)"),
blank=True
)
@@ -765,8 +760,8 @@ class CaseStudy(models.Model):
projected_production_of_commodities = models.CharField(
verbose_name=_("Estimated production of key commodities"),
- help_text=_('Describe the projected production of commodities per annum and overall.
\
- For example, "40 million tonnes of iron ore per year", "200 million tonnes over 5 year life of mine"'),
+ help_text=_('Describe the projected production of commodities per annum and overall.
'
+ 'For example, "40 million tonnes of iron ore per year", "200 million tonnes over 5 year life of mine"'),
max_length=256,
blank=True
)
@@ -780,7 +775,7 @@ class CaseStudy(models.Model):
associated_infrastructure = models.CharField(
verbose_name=_("Associated infrastructure in the locality"),
- help_text=_("List any associated infrastructure in the locality (e.g. tailings dams/mine waste storage and treatment facilities; ore processing facilities; smelting facilities; hydroelectric dams/energy infrastructure; transport infrastructure e.g. roads or rail)."),
+ help_text=_("List any associated infrastructure in the locality (e.g. tailings dams/mine waste storage and treatment facilities; ore processing facilities; smelting facilities; hydroelectric dams/energy infrastructure; transport infrastructure e.g. roads or rail)."),
max_length=256,
blank=True
)
@@ -856,21 +851,21 @@ class CaseStudy(models.Model):
negative_socioenvironmental_impacts = models.TextField(
verbose_name=_("Describe the socio-environmental impacts (positive and negative):"),
- help_text=_("Provide a detailed description of the socio-environmental impacts \
- (please provide all relevant details, such as type of ecosystem and \
- presence of any existing reserve in the area, land to have increased \
- biodiversity as a result of the project, new protection of lands/waters, \
- specific communities affected by the project, total geographic footprint \
- of the project, and tenure system affected in the case of land grabs, \
- kind of permits that were irregularly issued if this is the case."),
+ help_text=_("Provide a detailed description of the socio-environmental impacts"
+ " (please provide all relevant details, such as type of ecosystem and"
+ " presence of any existing reserve in the area, land to have increased"
+ " biodiversity as a result of the project, new protection of lands/waters,"
+ " specific communities affected by the project, total geographic footprint"
+ " of the project, and tenure system affected in the case of land grabs,"
+ " kind of permits that were irregularly issued if this is the case."),
blank=True
)
isolated_or_widespread = models.TextField(
verbose_name=_("Is the project part of developments which are causing a cumulative effect?"),
- help_text=_("Is this an isolated project or are there similar projects in the same \
- geographic area? If so, can you describe them? Is there an analysis of \
- cumulative or synergetic effects?"),
+ help_text=_("Is this an isolated project or are there similar projects in the same"
+ " geographic area? If so, can you describe them? Is there an analysis of"
+ " cumulative or synergetic effects?"),
blank=True
)
@@ -894,9 +889,9 @@ class CaseStudy(models.Model):
identified_partnerships = models.CharField(
verbose_name=_('Identified partnerships'),
- help_text=_('Are you, or the organizing process that you represent, looking for partnerships, \
- or have any clearly identified need? If so, please describe and we will try \
- to connect you to appropriate partners.'),
+ help_text=_('Are you, or the organizing process that you represent, looking for partnerships,'
+ ' or have any clearly identified need? If so, please describe and we will try'
+ ' to connect you to appropriate partners.'),
max_length=256,
blank=True
)
@@ -912,8 +907,7 @@ class CaseStudy(models.Model):
# 3.2.4.1
when_did_organising_start = models.CharField(
verbose_name=_("When did local organising efforts begin?"),
- help_text=_("Before the project started? During project implementation? \
- After project implementation? Describe in your own words."),
+ help_text=_("Before the project started? During project implementation? After project implementation? Describe in your own words."),
max_length=512,
blank=True
)
@@ -934,8 +928,7 @@ class CaseStudy(models.Model):
# 3.2.7
wants_conversation_with_ojuso = models.BooleanField(
verbose_name=_("Would you like to have a conversation with the ojuso team?"),
- help_text=_("This would be a conversation about challenging or engaging related developers, companies and \
- investors."),
+ help_text=_("This would be a conversation about challenging or engaging related developers, companies and investors."),
default=True
)
@@ -986,8 +979,8 @@ class CaseStudy(models.Model):
'files.File',
related_name='official_project_document_for',
verbose_name=_("Official project documents"),
- help_text=_("Attach any legal or official documents that relate to the project. \
- Hold down Control, or Command on a Mac, to select more than one."),
+ help_text=_("Attach any legal or official documents that relate to the project."
+ " Hold down Control, or Command on a Mac, to select more than one."),
blank=True,
)
@@ -996,8 +989,8 @@ class CaseStudy(models.Model):
'files.File',
related_name='other_document_for',
verbose_name=_("Other documents"),
- help_text=_("Attach any other documents that relate to the project. \
- Hold down Control, or Command on a Mac, to select more than one."),
+ help_text=_("Attach any other documents that relate to the project."
+ " Hold down Control, or Command on a Mac, to select more than one."),
blank=True,
)