Expand Question docstring (#420)

This commit is contained in:
Tobias Kunze
2017-02-26 13:11:37 +01:00
committed by Raphael Michel
parent 684198fc08
commit 81adbb3813

View File

@@ -362,9 +362,10 @@ class ItemVariation(models.Model):
class Question(LoggedModel): class Question(LoggedModel):
""" """
A question is an input field that can be used to extend a ticket A question is an input field that can be used to extend a ticket by custom information,
by custom information, e.g. "Attendee age". A question can allow one of several e.g. "Attendee age". The answers are found next to the position. The answers may be found
input types, currently: in QuestionAnswers, attached to OrderPositions/CartPositions. A question can allow one of
several input types, currently:
* a number (``TYPE_NUMBER``) * a number (``TYPE_NUMBER``)
* a one-line string (``TYPE_STRING``) * a one-line string (``TYPE_STRING``)