election_day.views.election.list_entity

Functions

list_options(→ list[tuple[str, str]])

view_list_by_entity(→ onegov.core.types.JSON_ro)

" View the list by entity as JSON.

view_election_list_by_entity(...)

" View the list as heatmap by entity.

view_election_list_by_entity_chart(...)

" Embed the heatmap.

Module Contents

election_day.views.election.list_entity.list_options(request: onegov.election_day.request.ElectionDayRequest, election: onegov.election_day.models.Election) list[tuple[str, str]][source]
election_day.views.election.list_entity.view_list_by_entity(self: onegov.election_day.models.List, request: onegov.election_day.request.ElectionDayRequest) onegov.core.types.JSON_ro[source]

“ View the list by entity as JSON.

election_day.views.election.list_entity.view_election_list_by_entity(self: onegov.election_day.models.Election, request: onegov.election_day.request.ElectionDayRequest) onegov.core.types.RenderData[source]

“ View the list as heatmap by entity.

election_day.views.election.list_entity.view_election_list_by_entity_chart(self: onegov.election_day.models.Election, request: onegov.election_day.request.ElectionDayRequest) onegov.core.types.RenderData[source]

“ Embed the heatmap.