election_day.views.manage.elections
Functions
|
View a list of all elections. |
|
Create a new election. |
|
Edit an existing election. |
|
Clear the results of an election. |
|
Deletes alls SVGs and PDFs of this election. |
|
Delete an existing election. |
|
Trigger the notifications related to an election. |
Module Contents
- election_day.views.manage.elections.view_elections(self: onegov.election_day.collections.ElectionCollection, request: onegov.election_day.request.ElectionDayRequest) onegov.core.types.RenderData [source]
View a list of all elections.
- election_day.views.manage.elections.create_election(self: onegov.election_day.collections.ElectionCollection, request: onegov.election_day.request.ElectionDayRequest, form: onegov.election_day.forms.ElectionForm) RenderData | Response [source]
Create a new election.
- election_day.views.manage.elections.edit_election(self: onegov.election_day.models.Election, request: onegov.election_day.request.ElectionDayRequest, form: onegov.election_day.forms.ElectionForm) RenderData | Response [source]
Edit an existing election.
- election_day.views.manage.elections.clear_election(self: onegov.election_day.models.Election, request: onegov.election_day.request.ElectionDayRequest, form: onegov.election_day.forms.ClearResultsForm) RenderData | Response [source]
Clear the results of an election.
- election_day.views.manage.elections.clear_election_media(self: onegov.election_day.models.Election, request: onegov.election_day.request.ElectionDayRequest, form: onegov.election_day.forms.EmptyForm) RenderData | Response [source]
Deletes alls SVGs and PDFs of this election.