From a2edba3b55f456eaabe1e63628b895ec7fc0cc0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Denis=20Krienbu=CC=88hl?= Date: Sat, 21 Jan 2012 13:22:26 +0100 Subject: [PATCH] Doubled the possible length of checks --- questionnaire/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/questionnaire/models.py b/questionnaire/models.py index 3b35400..46c3402 100644 --- a/questionnaire/models.py +++ b/questionnaire/models.py @@ -90,7 +90,7 @@ class QuestionSet(models.Model): questionnaire = models.ForeignKey(Questionnaire) sortid = models.IntegerField() # used to decide which order to display in heading = models.CharField(max_length=64) - checks = models.CharField(max_length=64, blank=True, + checks = models.CharField(max_length=128, blank=True, help_text = """Current options are 'femaleonly' or 'maleonly' and shownif="QuestionNumber,Answer" which takes the same format as requiredif for questions.""") text = models.TextField(help_text="This is interpreted as Textile: http://hobix.com/textile/quick.html") @@ -241,7 +241,7 @@ class Question(models.Model): "choose from. If a question is multiple-choice, enter the choices " \ "this user can choose from below'.") extra = models.CharField(u"Extra information", max_length=128, blank=True, null=True, help_text=u"Extra information (use on question type)") - checks = models.CharField(u"Additional checks", max_length=64, blank=True, + checks = models.CharField(u"Additional checks", max_length=128, blank=True, null=True, help_text="Additional checks to be performed for this " "value (space separated)

" "For text fields, required is a valid check.
"