From b9733afe7b397f3b3b63a8866d5c8b3c23ba75c2 Mon Sep 17 00:00:00 2001 From: Sli Date: Tue, 19 Nov 2024 21:30:29 +0100 Subject: [PATCH] Fix super call with parameters --- counter/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/counter/views.py b/counter/views.py index 4176e3ba..6262b6dd 100644 --- a/counter/views.py +++ b/counter/views.py @@ -1540,7 +1540,7 @@ class StudentCardFormFragmentView(FormView): def form_valid(self, form): data = form.clean() - res = super(FormView, self).form_valid(form) + res = super().form_valid(form) StudentCard(customer=self.customer, uid=data["uid"]).save() return res