mirror of https://gitlab.crans.org/bde/nk20
Remove broken code
This commit is contained in:
parent
4bbd464f9c
commit
204fe53047
|
@ -247,11 +247,13 @@ class ClubAddMemberView(LoginRequiredMixin, CreateView):
|
||||||
return context
|
return context
|
||||||
|
|
||||||
def post(self, request, *args, **kwargs):
|
def post(self, request, *args, **kwargs):
|
||||||
formset = MembershipFormset(request.POST)
|
return
|
||||||
if formset.is_valid():
|
# TODO: Implement POST
|
||||||
return self.form_valid(formset)
|
# formset = MembershipFormset(request.POST)
|
||||||
else:
|
# if formset.is_valid():
|
||||||
return self.form_invalid(formset)
|
# return self.form_valid(formset)
|
||||||
|
# else:
|
||||||
|
# return self.form_invalid(formset)
|
||||||
|
|
||||||
def form_valid(self, formset):
|
def form_valid(self, formset):
|
||||||
formset.save()
|
formset.save()
|
||||||
|
|
Loading…
Reference in New Issue