election_day.views.election_compound_part.main

Functions

view_election_compound_part_head(self, request) → None

view_election_compound_part(self, request) → webob.response.Response

" The main view.

view_election_compound_part_json(self, request) → onegov.core.types.JSON_ro

" The main view as JSON.

view_election_compound_part_summary(self, request) → onegov.core.types.JSON_ro

View the summary of the election compound part as JSON.

Module Contents

election_day.views.election_compound_part.main.view_election_compound_part_head(self: onegov.election_day.models.ElectionCompoundPart, request: onegov.election_day.request.ElectionDayRequest) → None[source]
election_day.views.election_compound_part.main.view_election_compound_part(self: onegov.election_day.models.ElectionCompoundPart, request: onegov.election_day.request.ElectionDayRequest) → webob.response.Response[source]

“ The main view.

election_day.views.election_compound_part.main.view_election_compound_part_json(self: onegov.election_day.models.ElectionCompoundPart, request: onegov.election_day.request.ElectionDayRequest) → onegov.core.types.JSON_ro[source]

“ The main view as JSON.

election_day.views.election_compound_part.main.view_election_compound_part_summary(self: onegov.election_day.models.ElectionCompoundPart, request: onegov.election_day.request.ElectionDayRequest) → onegov.core.types.JSON_ro[source]

View the summary of the election compound part as JSON.