mirror of
https://github.com/pretix/pretix.git
synced 2026-05-06 15:24:02 +00:00
Export: Fix handling of form validation errors
This commit is contained in:
@@ -2279,7 +2279,7 @@ class ExportDoView(EventPermissionRequiredMixin, ExportMixin, AsyncAction, Templ
|
||||
permission = 'can_view_orders'
|
||||
known_errortypes = ['ExportError']
|
||||
task = export
|
||||
template_name = 'pretixcontrol/orders/export.html'
|
||||
template_name = 'pretixcontrol/orders/export_form.html'
|
||||
|
||||
def get_success_message(self, value):
|
||||
return None
|
||||
|
||||
@@ -1579,7 +1579,7 @@ class ExportMixin:
|
||||
class ExportDoView(OrganizerPermissionRequiredMixin, ExportMixin, AsyncAction, TemplateView):
|
||||
known_errortypes = ['ExportError']
|
||||
task = multiexport
|
||||
template_name = 'pretixcontrol/organizers/export.html'
|
||||
template_name = 'pretixcontrol/organizers/export_form.html'
|
||||
|
||||
def get_success_message(self, value):
|
||||
return None
|
||||
|
||||
Reference in New Issue
Block a user