Add optional help_text to Question objects. Closes #574. (#579)

This commit is contained in:
Tobias Kunze
2017-07-31 10:54:57 +02:00
committed by Raphael Michel
parent 5f607cc034
commit 8ede492cba
5 changed files with 41 additions and 1 deletions

View File

@@ -545,6 +545,11 @@ class Question(LoggedModel):
question = I18nTextField(
verbose_name=_("Question")
)
help_text = I18nTextField(
verbose_name=_("Help text"),
help_text=_("If the question needs to be explained or clarified, do it here!"),
null=True, blank=True,
)
type = models.CharField(
max_length=5,
choices=TYPE_CHOICES,