Make changes Tom suggested via email
This commit is contained in:
parent
f549458412
commit
9d5daf4e13
@ -50,6 +50,7 @@ class CaseStudy(models.Model):
|
|||||||
LOCATION_CONTEXT_CHOICES = (
|
LOCATION_CONTEXT_CHOICES = (
|
||||||
('RUR', _('Rural')),
|
('RUR', _('Rural')),
|
||||||
('URB', _('Urban')),
|
('URB', _('Urban')),
|
||||||
|
('MIX', _('Mixed')),
|
||||||
)
|
)
|
||||||
|
|
||||||
TYPE_OF_ECOSYSTEM_CHOICES = (
|
TYPE_OF_ECOSYSTEM_CHOICES = (
|
||||||
@ -276,7 +277,7 @@ class CaseStudy(models.Model):
|
|||||||
)
|
)
|
||||||
|
|
||||||
# 1.5.5
|
# 1.5.5
|
||||||
type_of_ecosystem = models.CharField(
|
type_of_ecosystem = MultiSelectField(
|
||||||
verbose_name=_("Type of ecosystem"),
|
verbose_name=_("Type of ecosystem"),
|
||||||
help_text=_("Select the most relevant type of ecosystem."),
|
help_text=_("Select the most relevant type of ecosystem."),
|
||||||
max_length=6,
|
max_length=6,
|
||||||
@ -405,7 +406,7 @@ class CaseStudy(models.Model):
|
|||||||
# 1.15.2
|
# 1.15.2
|
||||||
image_caption = models.CharField(
|
image_caption = models.CharField(
|
||||||
verbose_name=_("Image caption"),
|
verbose_name=_("Image caption"),
|
||||||
max_length=500,
|
max_length=240,
|
||||||
default=None,
|
default=None,
|
||||||
null=True,
|
null=True,
|
||||||
)
|
)
|
||||||
@ -413,7 +414,7 @@ class CaseStudy(models.Model):
|
|||||||
# 1.15.3
|
# 1.15.3
|
||||||
image_credit = models.CharField(
|
image_credit = models.CharField(
|
||||||
verbose_name=_("Image credit(s)"),
|
verbose_name=_("Image credit(s)"),
|
||||||
max_length=200,
|
max_length=240,
|
||||||
default=None,
|
default=None,
|
||||||
null=True,
|
null=True,
|
||||||
)
|
)
|
||||||
@ -423,13 +424,17 @@ class CaseStudy(models.Model):
|
|||||||
verbose_name=_("YouTube Video"),
|
verbose_name=_("YouTube Video"),
|
||||||
help_text=_("Copy the URL to a related YouTube™ video that relates to the case study."),
|
help_text=_("Copy the URL to a related YouTube™ video that relates to the case study."),
|
||||||
max_length=43,
|
max_length=43,
|
||||||
validators=[validators.YoutubeURLValidator()]
|
validators=[validators.YoutubeURLValidator()],
|
||||||
|
blank=True,
|
||||||
|
default=None,
|
||||||
|
null=True,
|
||||||
)
|
)
|
||||||
|
|
||||||
# 1.16.2
|
# 1.16.2
|
||||||
video_caption = models.CharField(
|
video_caption = models.CharField(
|
||||||
verbose_name=_("Video caption"),
|
verbose_name=_("Video caption"),
|
||||||
max_length=500,
|
max_length=240,
|
||||||
|
blank=True,
|
||||||
default=None,
|
default=None,
|
||||||
null=True,
|
null=True,
|
||||||
)
|
)
|
||||||
@ -437,7 +442,8 @@ class CaseStudy(models.Model):
|
|||||||
# 1.16.3
|
# 1.16.3
|
||||||
video_credit = models.CharField(
|
video_credit = models.CharField(
|
||||||
verbose_name=_("Video credit(s)"),
|
verbose_name=_("Video credit(s)"),
|
||||||
max_length=500,
|
max_length=240,
|
||||||
|
blank=True,
|
||||||
default=None,
|
default=None,
|
||||||
null=True,
|
null=True,
|
||||||
)
|
)
|
||||||
@ -446,7 +452,6 @@ class CaseStudy(models.Model):
|
|||||||
media_coverage_mainstream = models.TextField(
|
media_coverage_mainstream = models.TextField(
|
||||||
verbose_name=_("Links to media reports"),
|
verbose_name=_("Links to media reports"),
|
||||||
help_text=_("Provide any links to mainstream media coverage."),
|
help_text=_("Provide any links to mainstream media coverage."),
|
||||||
max_length=500,
|
|
||||||
default=None,
|
default=None,
|
||||||
null=True,
|
null=True,
|
||||||
)
|
)
|
||||||
@ -455,7 +460,6 @@ class CaseStudy(models.Model):
|
|||||||
media_coverage_independent = models.TextField(
|
media_coverage_independent = models.TextField(
|
||||||
verbose_name=_("Independent grassroots reports"),
|
verbose_name=_("Independent grassroots reports"),
|
||||||
help_text=_("Provide any links to grassroots/independent media coverage."),
|
help_text=_("Provide any links to grassroots/independent media coverage."),
|
||||||
max_length=500,
|
|
||||||
default=None,
|
default=None,
|
||||||
null=True,
|
null=True,
|
||||||
)
|
)
|
||||||
@ -464,7 +468,10 @@ class CaseStudy(models.Model):
|
|||||||
community_voices = models.TextField(
|
community_voices = models.TextField(
|
||||||
verbose_name=_("Community Voices"),
|
verbose_name=_("Community Voices"),
|
||||||
help_text=_("Add any direct quotes from members of the community that \
|
help_text=_("Add any direct quotes from members of the community that \
|
||||||
relate to this project")
|
relate to this project"),
|
||||||
|
default=None,
|
||||||
|
null=True,
|
||||||
|
blank=True
|
||||||
)
|
)
|
||||||
|
|
||||||
# 1.18.2
|
# 1.18.2
|
||||||
@ -472,7 +479,6 @@ class CaseStudy(models.Model):
|
|||||||
verbose_name=_("Reports of direct communications"),
|
verbose_name=_("Reports of direct communications"),
|
||||||
help_text=_("Add any reports of direct communication between community members and \
|
help_text=_("Add any reports of direct communication between community members and \
|
||||||
representatives of developers/companies/investors."),
|
representatives of developers/companies/investors."),
|
||||||
max_length=500,
|
|
||||||
default=None,
|
default=None,
|
||||||
null=True,
|
null=True,
|
||||||
blank=True
|
blank=True
|
||||||
|
Loading…
Reference in New Issue
Block a user