election_day.views.manage.election_compounds

Functions

view_election_compounds(→ onegov.core.types.RenderData)

View a list of all election compoundss.

create_election_compound(...)

Create a new election compound.

edit_election_compound(...)

Edit an existing election compound.

clear_election_compound(...)

Clear the results of an election ompound.

clear_election_compound_media(...)

Deletes alls SVGs and PDFs of this election compound.

delete_election_compound(...)

Delete an existing election compound.

trigger_election(...)

Trigger the notifications related to an election.

Module Contents

election_day.views.manage.election_compounds.view_election_compounds(self: onegov.election_day.collections.ElectionCompoundCollection, request: onegov.election_day.request.ElectionDayRequest) onegov.core.types.RenderData[source]

View a list of all election compoundss.

election_day.views.manage.election_compounds.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[source]

Create a new election compound.

election_day.views.manage.election_compounds.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[source]

Edit an existing election compound.

election_day.views.manage.election_compounds.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[source]

Clear the results of an election ompound.

election_day.views.manage.election_compounds.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[source]

Deletes alls SVGs and PDFs of this election compound.

election_day.views.manage.election_compounds.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[source]

Delete an existing election compound.

election_day.views.manage.election_compounds.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[source]

Trigger the notifications related to an election.