election_day.views.archive
Functions
|
Shows all the results from the elections and votes for a given year |
|
Shows all the results from the elections and votes for a given year |
|
Shows all the results from the elections and votes of the last election |
|
Shows all the results from the elections and votes of the last election |
|
|
|
Shows all the results from the elections and votes of the last election |
|
Module Contents
- election_day.views.archive.view_archive(self: onegov.election_day.collections.ArchivedResultCollection, request: onegov.election_day.request.ElectionDayRequest) onegov.core.types.RenderData [source]
Shows all the results from the elections and votes for a given year or date.
- election_day.views.archive.view_archive_json(self: onegov.election_day.collections.ArchivedResultCollection, request: onegov.election_day.request.ElectionDayRequest) onegov.core.types.JSON_ro [source]
Shows all the results from the elections and votes for a given year or date as JSON.
- election_day.views.archive.view_principal(self: onegov.election_day.models.Principal, request: onegov.election_day.request.ElectionDayRequest) onegov.core.types.RenderData [source]
Shows all the results from the elections and votes of the last election day. It’s the landing page.
- election_day.views.archive.view_principal_json(self: onegov.election_day.models.Principal, request: onegov.election_day.request.ElectionDayRequest) onegov.core.types.JSON_ro [source]
Shows all the results from the elections and votes of the last election day as JSON.
- election_day.views.archive.search_form(model: onegov.election_day.collections.SearchableArchivedResultCollection, request: onegov.election_day.request.ElectionDayRequest, form: None = None) type[onegov.election_day.forms.ArchiveSearchFormVote | onegov.election_day.forms.ArchiveSearchFormElection] [source]
- election_day.views.archive.view_archive_search(self: onegov.election_day.collections.SearchableArchivedResultCollection, request: onegov.election_day.request.ElectionDayRequest, form: onegov.election_day.forms.ArchiveSearchFormVote | onegov.election_day.forms.ArchiveSearchFormElection) onegov.core.types.RenderData [source]
Shows all the results from the elections and votes of the last election day. It’s the landing page.