mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-25 02:24:26 +00:00
Fix super call with parameters
This commit is contained in:
parent
a8ceb8a200
commit
b9733afe7b
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user