election_day.models.election.proporz_election
Classes
Mixin providing a meta/content JSON pair. Meta is a JSON column loaded |
Module Contents
- class election_day.models.election.proporz_election.ProporzElection[source]
Bases:
onegov.election_day.models.election.election.Election
,onegov.election_day.models.party_result.mixins.PartyResultsCheckMixin
,onegov.election_day.models.party_result.mixins.HistoricalPartyResultsMixin
Mixin providing a meta/content JSON pair. Meta is a JSON column loaded with each request, content is a JSON column loaded deferred (to be shown only in the detail view).
- list_connections: relationship[list[ListConnection]][source]
- party_results: relationship[list[PartyResult]][source]
- party_panachage_results: relationship[list[PartyPanachageResult]][source]
- property votes_by_entity: Query[VotesByEntityRow][source]
- property votes_by_district: Query[VotesByDistrictRow][source]
- property has_lists_panachage_data: bool[source]
Checks if there are lists panachage data available.
- property has_candidate_panachage_data: bool[source]
Checks if there are candidate panachage data available.
- property relationships_for_historical_party_results: AppenderQuery[ElectionRelationship][source]