election_day.views.upload.election

The upload view.

Functions

view_upload_election(→ webob.response.Response)

Upload results of an election.

view_upload_majorz_election(→ onegov.core.types.RenderData)

Upload results of a majorz election.

view_upload_proporz_election(...)

Upload results of a proproz election.

Module Contents

election_day.views.upload.election.view_upload_election(self: onegov.election_day.models.Election, request: onegov.election_day.request.ElectionDayRequest) webob.response.Response[source]

Upload results of an election.

Redirects to the majorz or proporz upload view.

election_day.views.upload.election.view_upload_majorz_election(self: onegov.election_day.models.Election, request: onegov.election_day.request.ElectionDayRequest, form: onegov.election_day.forms.UploadMajorzElectionForm) onegov.core.types.RenderData[source]

Upload results of a majorz election.

election_day.views.upload.election.view_upload_proporz_election(self: onegov.election_day.models.ProporzElection, request: onegov.election_day.request.ElectionDayRequest, form: onegov.election_day.forms.UploadProporzElectionForm) onegov.core.types.RenderData[source]

Upload results of a proproz election.