ballot.models.election.proporz_election
¶
Module Contents¶
Classes¶
Mixin providing a meta/content JSON pair. Meta is a JSON column loaded |
- class ballot.models.election.proporz_election.ProporzElection[source]¶
Bases:
onegov.ballot.models.election.election.Election
,onegov.ballot.models.party_result.mixins.PartyResultsCheckMixin
,onegov.ballot.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).
- 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]¶
- list_connections: relationship[list[ListConnection]][source]¶
- party_results: relationship[list[PartyResult]][source]¶
- party_panachage_results: relationship[list[PartyPanachageResult]][source]¶