mirror of
https://github.com/pretix/pretix.git
synced 2026-05-06 15:24:02 +00:00
Prepare for DeleteView change in Django 4.0
This commit is contained in:
@@ -127,6 +127,9 @@ class OAuthApplicationDeleteView(ApplicationDelete):
|
||||
self.object.save()
|
||||
return HttpResponseRedirect(self.success_url)
|
||||
|
||||
def form_valid(self, form):
|
||||
return self.delete(self.request, self.args, self.kwargs)
|
||||
|
||||
|
||||
class AuthorizationListView(ListView):
|
||||
template_name = 'pretixcontrol/oauth/authorized.html'
|
||||
|
||||
Reference in New Issue
Block a user