Commit 5e33e157 authored by Luko van der Maas's avatar Luko van der Maas
Browse files

Apply suggestion to website/events/

parent c1aaa58f
......@@ -169,10 +169,10 @@ class EventMessage(FormView):
_("Message sent successfully."))
if '_save' in self.request.POST:
return HttpResponseRedirect(reverse(
return redirect(
def dispatch(self, request, *args, **kwargs):
self.event = get_object_or_404(Event, pk=self.kwargs['pk'])
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment