election_day.views.election.main

Functions

view_election_head(→ None)

view_election(→ webob.response.Response)

" The main view.

view_election_json(→ onegov.core.types.JSON_ro)

" The main view as JSON.

view_election_summary(→ onegov.core.types.JSON_ro)

View the summary of the election as JSON.

view_election_pdf(→ onegov.core.types.RenderData)

View the generated PDF.

Module Contents

election_day.views.election.main.view_election_head(self: onegov.election_day.models.Election, request: onegov.election_day.request.ElectionDayRequest) None[source]
election_day.views.election.main.view_election(self: onegov.election_day.models.Election, request: onegov.election_day.request.ElectionDayRequest) webob.response.Response[source]

“ The main view.

election_day.views.election.main.view_election_json(self: onegov.election_day.models.Election, request: onegov.election_day.request.ElectionDayRequest) onegov.core.types.JSON_ro[source]

“ The main view as JSON.

election_day.views.election.main.view_election_summary(self: onegov.election_day.models.Election, request: onegov.election_day.request.ElectionDayRequest) onegov.core.types.JSON_ro[source]

View the summary of the election as JSON.

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

View the generated PDF.