Skip to content
Snippets Groups Projects
Commit 52851c37 authored by Felix Schäfer's avatar Felix Schäfer :construction_worker:
Browse files

Provide a type for custom settings

The settings are then correctly deserialized and used as
initial values on the settings form
parent b3d47fc3
Branches
Tags
No related merge requests found
......@@ -8,6 +8,11 @@ from i18nfield.strings import LazyI18nString
from pretix.presale.signals import question_form_fields, front_page_bottom, process_response, html_head
from pretix.control.signals import nav_event_settings
from pretix.base.models import OrderPosition
from pretix.base.settings import settings_hierarkey
settings_hierarkey.add_default('public_registrations_items', None, list)
settings_hierarkey.add_default('public_registrations_questions', None, list)
@receiver(html_head, dispatch_uid="public_registrations_html_head")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment