Fix super call with parameters

This commit is contained in:
Antoine Bartuccio 2024-11-19 21:30:29 +01:00
parent a8ceb8a200
commit b9733afe7b

View File

@ -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