diff --git a/partners/views.py b/partners/views.py index 4173a8ca18050c67bee237019f2d1d010c37d257..111dda8d8190b60812b4991328984d0519ee8984 100644 --- a/partners/views.py +++ b/partners/views.py @@ -145,8 +145,6 @@ def add_prospartner_event(request, prospartner_id): prospartner.save() return redirect(reverse('partners:manage')) else: - t = ppevent_form.errors - raise errormessage = 'The form was invalidly filled.' return render(request, 'scipost/error.html', {'errormessage': errormessage}) errormessage = 'This view can only be posted to.'