election_day.views.election.main ================================ .. py:module:: election_day.views.election.main Functions --------- .. autoapisummary:: election_day.views.election.main.view_election_head election_day.views.election.main.view_election election_day.views.election.main.view_election_json election_day.views.election.main.view_election_summary election_day.views.election.main.view_election_pdf Module Contents --------------- .. py:function:: view_election_head(self: onegov.election_day.models.Election, request: onegov.election_day.request.ElectionDayRequest) -> None .. py:function:: view_election(self: onegov.election_day.models.Election, request: onegov.election_day.request.ElectionDayRequest) -> webob.response.Response " The main view. .. py:function:: view_election_json(self: onegov.election_day.models.Election, request: onegov.election_day.request.ElectionDayRequest) -> onegov.core.types.JSON_ro " The main view as JSON. .. py:function:: view_election_summary(self: onegov.election_day.models.Election, request: onegov.election_day.request.ElectionDayRequest) -> onegov.core.types.JSON_ro View the summary of the election as JSON. .. py:function:: view_election_pdf(self: onegov.election_day.models.Election, request: onegov.election_day.request.ElectionDayRequest) -> onegov.core.types.RenderData View the generated PDF.