election_day.views.manage.election_compounds

Module Contents

Functions

view_election_compounds(→ onegov.core.types.RenderData)

View a list of all election compoundss.

create_election_compound(→ RenderData | Response)

Create a new election compound.

edit_election_compound(→ RenderData | Response)

Edit an existing election compound.

clear_election_compound(→ RenderData | Response)

Clear the results of an election ompound.

clear_election_compound_media(→ RenderData | Response)

Deletes alls SVGs and PDFs of this election compound.

delete_election_compound(→ RenderData | Response)

Delete an existing election compound.

trigger_election(→ RenderData | Response)

Trigger the notifications related to an election.

election_day.views.manage.election_compounds.view_election_compounds(self: onegov.ballot.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.ballot.ElectionCompoundCollection, request: onegov.election_day.request.ElectionDayRequest, form: onegov.election_day.forms.ElectionCompoundForm) RenderData | Response[source]

Create a new election compound.

election_day.views.manage.election_compounds.edit_election_compound(self: onegov.ballot.ElectionCompound, request: onegov.election_day.request.ElectionDayRequest, form: onegov.election_day.forms.ElectionCompoundForm) RenderData | Response[source]

Edit an existing election compound.

election_day.views.manage.election_compounds.clear_election_compound(self: onegov.ballot.ElectionCompound, request: onegov.election_day.request.ElectionDayRequest, form: onegov.election_day.forms.ClearResultsForm) RenderData | Response[source]

Clear the results of an election ompound.

election_day.views.manage.election_compounds.clear_election_compound_media(self: onegov.ballot.ElectionCompound, request: onegov.election_day.request.ElectionDayRequest, form: onegov.election_day.forms.EmptyForm) RenderData | Response[source]

Deletes alls SVGs and PDFs of this election compound.

election_day.views.manage.election_compounds.delete_election_compound(self: onegov.ballot.ElectionCompound, request: onegov.election_day.request.ElectionDayRequest, form: onegov.election_day.forms.EmptyForm) RenderData | Response[source]

Delete an existing election compound.

election_day.views.manage.election_compounds.trigger_election(self: onegov.ballot.ElectionCompound, request: onegov.election_day.request.ElectionDayRequest, form: onegov.election_day.forms.TriggerNotificationForm) RenderData | Response[source]

Trigger the notifications related to an election.