swissvotes.views.votes

Functions

view_votes(→ onegov.core.types.RenderData)

update_votes(→ RenderData | BaseResponse)

update_metadata(→ RenderData | BaseResponse)

update_external_resources(→ RenderData | BaseResponse)

export_votes_csv(→ morepath.request.Response)

export_votes_xlsx(→ morepath.request.Response)

delete_votes(→ RenderData | BaseResponse)

Module Contents

swissvotes.views.votes.view_votes(self: onegov.swissvotes.collections.SwissVoteCollection, request: onegov.swissvotes.request.SwissvotesRequest, form: onegov.swissvotes.forms.SearchForm) onegov.core.types.RenderData[source]
swissvotes.views.votes.update_votes(self: onegov.swissvotes.collections.SwissVoteCollection, request: onegov.swissvotes.request.SwissvotesRequest, form: onegov.swissvotes.forms.UpdateDatasetForm) RenderData | BaseResponse[source]
swissvotes.views.votes.update_metadata(self: onegov.swissvotes.collections.SwissVoteCollection, request: onegov.swissvotes.request.SwissvotesRequest, form: onegov.swissvotes.forms.UpdateMetadataForm) RenderData | BaseResponse[source]
swissvotes.views.votes.update_external_resources(self: onegov.swissvotes.collections.SwissVoteCollection, request: onegov.swissvotes.request.SwissvotesRequest, form: onegov.swissvotes.forms.UpdateExternalResourcesForm) RenderData | BaseResponse[source]
swissvotes.views.votes.export_votes_csv(self: onegov.swissvotes.collections.SwissVoteCollection, request: onegov.swissvotes.request.SwissvotesRequest) morepath.request.Response[source]
swissvotes.views.votes.export_votes_xlsx(self: onegov.swissvotes.collections.SwissVoteCollection, request: onegov.swissvotes.request.SwissvotesRequest) morepath.request.Response[source]
swissvotes.views.votes.delete_votes(self: onegov.swissvotes.collections.SwissVoteCollection, request: onegov.swissvotes.request.SwissvotesRequest, form: onegov.form.Form) RenderData | BaseResponse[source]