Make changes Tom suggested via email

This commit is contained in:
Anna Sidwell 2018-03-29 21:41:09 +11:00
parent f549458412
commit 9d5daf4e13

View File

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