forked from CGM_Public/pretix_original
Expand Question docstring (#420)
This commit is contained in:
committed by
Raphael Michel
parent
684198fc08
commit
81adbb3813
@@ -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``)
|
||||||
|
|||||||
Reference in New Issue
Block a user