Doubled the possible length of checks

EmailTemplateFixes
Denis Krienbühl 2012-01-21 13:22:26 +01:00
parent bd2bbaa103
commit a2edba3b55
1 changed files with 2 additions and 2 deletions

View File

@ -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 <tt>requiredif</tt> for questions.""")
text = models.TextField(help_text="This is interpreted as Textile: <a href='http://hobix.com/textile/quick.html'>http://hobix.com/textile/quick.html</a>")
@ -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) <br /><br />"
"For text fields, <tt>required</tt> is a valid check.<br />"