swissvotes.views.votes ====================== .. py:module:: swissvotes.views.votes Functions --------- .. autoapisummary:: swissvotes.views.votes.view_votes swissvotes.views.votes.update_votes swissvotes.views.votes.update_metadata swissvotes.views.votes.update_external_resources swissvotes.views.votes.export_votes_csv swissvotes.views.votes.export_votes_xlsx swissvotes.views.votes.delete_votes Module Contents --------------- .. py:function:: view_votes(self: onegov.swissvotes.collections.SwissVoteCollection, request: onegov.swissvotes.request.SwissvotesRequest, form: onegov.swissvotes.forms.SearchForm) -> onegov.core.types.RenderData .. py:function:: update_votes(self: onegov.swissvotes.collections.SwissVoteCollection, request: onegov.swissvotes.request.SwissvotesRequest, form: onegov.swissvotes.forms.UpdateDatasetForm) -> onegov.core.types.RenderData | webob.Response .. py:function:: update_metadata(self: onegov.swissvotes.collections.SwissVoteCollection, request: onegov.swissvotes.request.SwissvotesRequest, form: onegov.swissvotes.forms.UpdateMetadataForm) -> onegov.core.types.RenderData | webob.Response .. py:function:: update_external_resources(self: onegov.swissvotes.collections.SwissVoteCollection, request: onegov.swissvotes.request.SwissvotesRequest, form: onegov.swissvotes.forms.UpdateExternalResourcesForm) -> onegov.core.types.RenderData | webob.Response .. py:function:: export_votes_csv(self: onegov.swissvotes.collections.SwissVoteCollection, request: onegov.swissvotes.request.SwissvotesRequest) -> morepath.request.Response .. py:function:: export_votes_xlsx(self: onegov.swissvotes.collections.SwissVoteCollection, request: onegov.swissvotes.request.SwissvotesRequest) -> morepath.request.Response .. py:function:: delete_votes(self: onegov.swissvotes.collections.SwissVoteCollection, request: onegov.swissvotes.request.SwissvotesRequest, form: onegov.form.Form) -> onegov.core.types.RenderData | webob.Response