Fix type of ecosystem field after messing it up in 9d5daf4e.

This commit is contained in:
2018-03-31 17:23:22 +11:00
parent 5f2941d205
commit a5011674f8
2 changed files with 36 additions and 14 deletions

View File

@ -56,18 +56,14 @@ class CaseStudy(models.Model):
)
TYPE_OF_ECOSYSTEM_CHOICES = (
(_('Water Based'), (
('MARINE', _('Marine (e.g. Ocean, Sea)')),
('FRESH', _('Freshwater (e.g. Freshwater, Lake)')),
)),
(_('Land Based'), (
('FOREST', _('Forest/Jungle')),
('AGRI', _('Agricultural Land')),
('GRASS', _('Grassland')),
('DESERT', _('Desert (Tundra, Ice or Sand)')),
('WETLND', _('Wetland (Marsh, Mangrove, Peat Soil)')),
('URBAN', _('Urban')),
))
('MARINE', _('Marine (e.g. Ocean, Sea)')),
('FRESH', _('Freshwater (e.g. Freshwater, Lake)')),
('FOREST', _('Forest/Jungle')),
('AGRI', _('Agricultural Land')),
('GRASS', _('Grassland')),
('DESERT', _('Desert (Tundra, Ice or Sand)')),
('WETLND', _('Wetland (Marsh, Mangrove, Peat Soil)')),
('URBAN', _('Urban'))
)
PROJECT_STATUS_CHOICES = (
@ -280,8 +276,8 @@ class CaseStudy(models.Model):
# 1.5.5
type_of_ecosystem = MultiSelectField(
verbose_name=_("Type of ecosystem"),
help_text=_("Select the most relevant type of ecosystem."),
verbose_name=_("Type(s) of ecosystem"),
help_text=_("Select the most relevant type(s)."),
max_length=6,
choices=TYPE_OF_ECOSYSTEM_CHOICES,
default=None,