mirror of
https://github.com/pretix/pretix.git
synced 2026-05-08 15:44:02 +00:00
Use more sensible defaults for check-in lists in event series (#3147)
This commit is contained in:
@@ -251,7 +251,9 @@ class SubEventEditorMixin(MetaDataEditorMixin):
|
||||
'include_pending': False,
|
||||
}
|
||||
]
|
||||
extra = 0
|
||||
|
||||
if not self.request.event.checkin_lists.filter(subevent__isnull=True).exists():
|
||||
extra = 1
|
||||
|
||||
formsetclass = inlineformset_factory(
|
||||
SubEvent, CheckinList,
|
||||
|
||||
Reference in New Issue
Block a user