election_day.models.screen
Classes
Mixin providing a meta/content JSON pair. Meta is a JSON column loaded |
Module Contents
- class election_day.models.screen.ScreenType(type_: str)[source]
- class election_day.models.screen.Screen[source]
Bases:
onegov.core.orm.Base
,onegov.core.orm.mixins.ContentMixin
,onegov.core.orm.mixins.TimestampMixin
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).
- election_compound: relationship[ElectionCompound | None][source]
- property election_compound_part: onegov.election_day.models.election_compound.ElectionCompoundPart | None[source]
- property model: onegov.election_day.models.election.Election | onegov.election_day.models.election_compound.ElectionCompound | onegov.election_day.models.election_compound.ElectionCompoundPart | onegov.election_day.models.vote.Vote | None[source]
- property screen_type: ScreenType[source]