election_day.views.manage.election_compounds ============================================ .. py:module:: election_day.views.manage.election_compounds Functions --------- .. autoapisummary:: election_day.views.manage.election_compounds.view_election_compounds election_day.views.manage.election_compounds.create_election_compound election_day.views.manage.election_compounds.edit_election_compound election_day.views.manage.election_compounds.clear_election_compound election_day.views.manage.election_compounds.clear_election_compound_media election_day.views.manage.election_compounds.delete_election_compound election_day.views.manage.election_compounds.trigger_election Module Contents --------------- .. py:function:: view_election_compounds(self: onegov.election_day.collections.ElectionCompoundCollection, request: onegov.election_day.request.ElectionDayRequest) -> onegov.core.types.RenderData View a list of all election compoundss. .. py:function:: create_election_compound(self: onegov.election_day.collections.ElectionCompoundCollection, request: onegov.election_day.request.ElectionDayRequest, form: onegov.election_day.forms.ElectionCompoundForm) -> onegov.core.types.RenderData | webob.response.Response Create a new election compound. .. py:function:: edit_election_compound(self: onegov.election_day.models.ElectionCompound, request: onegov.election_day.request.ElectionDayRequest, form: onegov.election_day.forms.ElectionCompoundForm) -> onegov.core.types.RenderData | webob.response.Response Edit an existing election compound. .. py:function:: clear_election_compound(self: onegov.election_day.models.ElectionCompound, request: onegov.election_day.request.ElectionDayRequest, form: onegov.election_day.forms.ClearResultsForm) -> onegov.core.types.RenderData | webob.response.Response Clear the results of an election ompound. .. py:function:: clear_election_compound_media(self: onegov.election_day.models.ElectionCompound, request: onegov.election_day.request.ElectionDayRequest, form: onegov.election_day.forms.EmptyForm) -> onegov.core.types.RenderData | webob.response.Response Deletes alls SVGs and PDFs of this election compound. .. py:function:: delete_election_compound(self: onegov.election_day.models.ElectionCompound, request: onegov.election_day.request.ElectionDayRequest, form: onegov.election_day.forms.EmptyForm) -> onegov.core.types.RenderData | webob.response.Response Delete an existing election compound. .. py:function:: trigger_election(self: onegov.election_day.models.ElectionCompound, request: onegov.election_day.request.ElectionDayRequest, form: onegov.election_day.forms.TriggerNotificationForm) -> onegov.core.types.RenderData | webob.response.Response Trigger the notifications related to an election.