election_day.views.election_compound.main

Functions

view_election_compound_head(self, request) → None

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

" The main view.

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

" The main view as JSON.

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

View the summary of the election compound as JSON.

view_election_compound_pdf(self, request) → onegov.core.types.RenderData

View the generated PDF.

Module Contents

election_day.views.election_compound.main.view_election_compound_head(self: onegov.election_day.models.ElectionCompound, request: onegov.election_day.request.ElectionDayRequest) → None[source]
election_day.views.election_compound.main.view_election_compound(self: onegov.election_day.models.ElectionCompound, request: onegov.election_day.request.ElectionDayRequest) → webob.response.Response[source]

“ The main view.

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

“ The main view as JSON.

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

View the summary of the election compound as JSON.

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

View the generated PDF.