From dbdab0e4404c4cfb656f6d010952301bde1fea0b Mon Sep 17 00:00:00 2001 From: Anna Sidwell Date: Mon, 2 Apr 2018 22:36:46 +1000 Subject: [PATCH] Make type of ecosystem field long enough to hold all choices --- apps/map/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/map/models.py b/apps/map/models.py index 1d8f56c..c9a7035 100644 --- a/apps/map/models.py +++ b/apps/map/models.py @@ -307,7 +307,7 @@ class CaseStudy(models.Model): type_of_ecosystem = MultiSelectField( verbose_name=_("Type(s) of ecosystem"), help_text=_("Select the most relevant type(s)."), - max_length=6, + max_length=56, choices=TYPE_OF_ECOSYSTEM_CHOICES, default=None, null=True,