mirror of
https://github.com/pretix/pretix.git
synced 2026-05-10 16:04:02 +00:00
Add system question order to device event settings api endpoint (#3186)
This commit is contained in:
@@ -863,6 +863,7 @@ class DeviceEventSettingsSerializer(EventSettingsSerializer):
|
|||||||
'invoice_address_from_tax_id',
|
'invoice_address_from_tax_id',
|
||||||
'invoice_address_from_vat_id',
|
'invoice_address_from_vat_id',
|
||||||
'name_scheme',
|
'name_scheme',
|
||||||
|
'system_question_order',
|
||||||
]
|
]
|
||||||
|
|
||||||
def __init__(self, *args, **kwargs):
|
def __init__(self, *args, **kwargs):
|
||||||
|
|||||||
@@ -212,6 +212,8 @@ DEFAULTS = {
|
|||||||
'system_question_order': {
|
'system_question_order': {
|
||||||
'default': {},
|
'default': {},
|
||||||
'type': dict,
|
'type': dict,
|
||||||
|
'serializer_class': serializers.DictField,
|
||||||
|
'serializer_kwargs': lambda: dict(read_only=True, allow_empty=True),
|
||||||
},
|
},
|
||||||
'attendee_names_asked': {
|
'attendee_names_asked': {
|
||||||
'default': 'True',
|
'default': 'True',
|
||||||
|
|||||||
Reference in New Issue
Block a user