From 204fe53047e1b2165b7ec888f87fe6e09cb5629d Mon Sep 17 00:00:00 2001 From: Alexandre Iooss Date: Tue, 18 Feb 2020 21:47:03 +0100 Subject: [PATCH] Remove broken code --- apps/member/views.py | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/apps/member/views.py b/apps/member/views.py index c1231fbc..366523b0 100644 --- a/apps/member/views.py +++ b/apps/member/views.py @@ -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()