election_day.layouts.election_compound
Classes
A common base layout for election and votes which caches some values |
Module Contents
- class election_day.layouts.election_compound.ElectionCompoundLayout(model: onegov.election_day.models.ElectionCompound, request: onegov.election_day.request.ElectionDayRequest, tab: str | None = None)[source]
Bases:
onegov.election_day.layouts.detail.DetailLayout
A common base layout for election and votes which caches some values used in the macros.
- tabs_with_embedded_tables = ('seat-allocation', 'list-groups', 'superregions', 'districts', 'candidates', 'party-strengths',...[source]
- property pdf_path: str | None[source]
Returns the path to the PDF file or None, if it is not available.