From 9d8c0a90b58aaebdf3fba654cfcb9dc807090aec Mon Sep 17 00:00:00 2001 From: Eric Theise Date: Sat, 16 May 2020 22:11:30 -0700 Subject: [PATCH] feat: toward #17 and #21, survey models, etc --- mdi/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mdi/models.py b/mdi/models.py index 4d0a3c9..42b3833 100644 --- a/mdi/models.py +++ b/mdi/models.py @@ -234,7 +234,7 @@ class Organization(models.Model): geo_scope_country = CountryField(blank=True, verbose_name='Geographic scope – Country', ) impacted_range = IntegerRangeField(blank=True, null=True, default=None) impacted_exact_number = models.IntegerField(blank=True, null=True, default=None) - code_availability = models.CharField(blank=True, max_length=8, choices=[(0, 'Yes'), (1, 'Partially'), (2, 'No')]) + code_availability = models.CharField(blank=True, max_length=9, choices=[(0, 'Yes'), (1, 'Partially'), (2, 'No')]) categories = models.ManyToManyField(Category, blank=True,) stage = models.ForeignKey(Stage, blank=True, null=True, default=None, on_delete=models.CASCADE) source = models.ForeignKey(Source, on_delete=models.CASCADE, blank=True, null=True)