mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-21 21:53:30 +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):
|
def form_valid(self, form):
|
||||||
data = form.clean()
|
data = form.clean()
|
||||||
res = super(FormView, self).form_valid(form)
|
res = super().form_valid(form)
|
||||||
StudentCard(customer=self.customer, uid=data["uid"]).save()
|
StudentCard(customer=self.customer, uid=data["uid"]).save()
|
||||||
return res
|
return res
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user