Fix Infernal Server Error on SignupForms

This commit is contained in:
Aarni Halinen
2019-11-10 21:34:10 +02:00
parent 08ec9bb9cc
commit f64cec7d2e
4 changed files with 29 additions and 22 deletions
+1 -2
View File
@@ -77,9 +77,8 @@ class Event(BaseFeed):
class TemplateQuestion(models.Model):
"""Stores template questions for signup forms as JSONB"""
# question = JSONField()
name = models.CharField(max_length=255)
question = models.CharField(max_length=255)
question = JSONField()
def __str__(self):
return _('Template questions: {}').format(self.name)