ballot.models.election.mixins
DerivedAttributesMixin
A simple mixin to add commonly used functions to elections and their
A simple mixin to add commonly used functions to elections and their results.
The number of unaccounted ballots.
The number of accounted ballots.
The turnout of the election.
DerivedAttributesMixin.unaccounted_ballots()
DerivedAttributesMixin.accounted_ballots()
DerivedAttributesMixin.turnout()