election_day.views.upload.election ================================== .. py:module:: election_day.views.upload.election .. autoapi-nested-parse:: The upload view. Functions --------- .. autoapisummary:: election_day.views.upload.election.view_upload_election election_day.views.upload.election.view_upload_majorz_election election_day.views.upload.election.view_upload_proporz_election Module Contents --------------- .. py:function:: view_upload_election(self: onegov.election_day.models.Election, request: onegov.election_day.request.ElectionDayRequest) -> webob.response.Response Upload results of an election. Redirects to the majorz or proporz upload view. .. py:function:: 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 Upload results of a majorz election. .. py:function:: 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 Upload results of a proproz election.