diff --git a/elections/views.py b/elections/views.py index df912d1..ff2a38b 100644 --- a/elections/views.py +++ b/elections/views.py @@ -445,8 +445,9 @@ class ElectionVotersView(NotArchivedMixin, DetailView): for v in voters: v.form = DeleteVoteForm() - context["voters"] = voters context["can_delete"] = can_delete + context["voters"] = voters + return context