election_day.views.election_compound.candidates

Module Contents

Functions

get_districts(→ dict[str, tuple[str, str, str]])

view_election_compound_candidates(...)

" The main view.

view_election_statistics_table(...)

" View for the standalone statistics table.

election_day.views.election_compound.candidates.get_districts(model: onegov.ballot.ElectionCompound, layout: onegov.election_day.layouts.ElectionCompoundLayout) dict[str, tuple[str, str, str]][source]
election_day.views.election_compound.candidates.view_election_compound_candidates(self: onegov.ballot.ElectionCompound, request: onegov.election_day.request.ElectionDayRequest) onegov.core.types.RenderData[source]

“ The main view.

election_day.views.election_compound.candidates.view_election_statistics_table(self: onegov.ballot.ElectionCompound, request: onegov.election_day.request.ElectionDayRequest) onegov.core.types.RenderData[source]

“ View for the standalone statistics table.