1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2024-11-26 18:37:12 +00:00

Remove broken code

This commit is contained in:
Alexandre Iooss 2020-02-18 21:47:03 +01:00
parent 4bbd464f9c
commit 204fe53047
No known key found for this signature in database
GPG Key ID: 6C79278F3FCDCC02

View File

@ -247,11 +247,13 @@ class ClubAddMemberView(LoginRequiredMixin, CreateView):
return context
def post(self, request, *args, **kwargs):
formset = MembershipFormset(request.POST)
if formset.is_valid():
return self.form_valid(formset)
else:
return self.form_invalid(formset)
return
# TODO: Implement POST
# formset = MembershipFormset(request.POST)
# if formset.is_valid():
# return self.form_valid(formset)
# else:
# return self.form_invalid(formset)
def form_valid(self, formset):
formset.save()