Include global settings in event/organizer settings

Also, add tests
This commit is contained in:
Tobias Kunze
2016-10-31 19:03:41 +01:00
committed by Raphael Michel
parent c647aa9f4e
commit c5fdf7c215
8 changed files with 62 additions and 17 deletions
+1 -1
View File
@@ -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')