mirror of
https://github.com/pretix/pretix.git
synced 2026-05-06 15:24:02 +00:00
Include global settings in event/organizer settings
Also, add tests
This commit is contained in:
committed by
Raphael Michel
parent
c647aa9f4e
commit
c5fdf7c215
@@ -1,3 +1,4 @@
|
||||
from django.shortcuts import reverse
|
||||
from django.views.generic import FormView
|
||||
|
||||
from pretix.control.forms.global_settings import GlobalSettingsForm
|
||||
@@ -13,5 +14,4 @@ class GlobalSettingsView(AdministratorPermissionRequiredMixin, FormView):
|
||||
return super().form_valid(form)
|
||||
|
||||
def get_success_url(self):
|
||||
from django.shortcuts import reverse
|
||||
return reverse('control:global-settings')
|
||||
|
||||
Reference in New Issue
Block a user