election_day.views.election_compound.districts

Functions

view_election_compound_districts(...)

" The districts view.

view_election_compound_by_district(...)

" View the districts/regions/municipalities as JSON for the map.

view_election_list_by_district_chart(...)

" Embed the heatmap.

view_election_compound_districts_table(...)

" Displays the districts as standalone table.

Module Contents

election_day.views.election_compound.districts.view_election_compound_districts(self: onegov.election_day.models.ElectionCompound, request: onegov.election_day.request.ElectionDayRequest) onegov.core.types.RenderData[source]

“ The districts view.

election_day.views.election_compound.districts.view_election_compound_by_district(self: onegov.election_day.models.ElectionCompound, request: onegov.election_day.request.ElectionDayRequest) onegov.core.types.JSON_ro[source]

“ View the districts/regions/municipalities as JSON for the map.

election_day.views.election_compound.districts.view_election_list_by_district_chart(self: onegov.election_day.models.ElectionCompound, request: onegov.election_day.request.ElectionDayRequest) onegov.core.types.RenderData[source]

“ Embed the heatmap.

election_day.views.election_compound.districts.view_election_compound_districts_table(self: onegov.election_day.models.ElectionCompound, request: onegov.election_day.request.ElectionDayRequest) onegov.core.types.RenderData[source]

“ Displays the districts as standalone table.