Create new events in Testmode by default

This commit is contained in:
Martin Gross
2019-05-28 11:14:03 +02:00
parent 74f861bd48
commit e139de3c19

View File

@@ -204,6 +204,7 @@ class EventWizard(SafeSessionWizardView):
event.organizer = foundation_data['organizer']
event.plugins = settings.PRETIX_PLUGINS_DEFAULT
event.has_subevents = foundation_data['has_subevents']
event.testmode = True
form_dict['basics'].save()
has_control_rights = self.request.user.teams.filter(