Commit 9bb5951d authored by Jean-Baptiste Lenglet's avatar Jean-Baptiste Lenglet Committed by Sli
Browse files

Removed request.user as user bc it already exists

parent 1a34dcda
......@@ -100,7 +100,6 @@ class ElectionDetailView(CanViewMixin, DetailView):
kwargs = super(ElectionDetailView, self).get_context_data(**kwargs)
kwargs['candidate_form'] = CandidateForm(self.get_object().id)
kwargs['election_form'] = VoteForm(self.get_object(), self.request.user)
kwargs['user'] = self.request.user
return kwargs
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