landsgemeinde.app

Classes

LandsgemeindeApp

Baseclass for Morepath OneGov applications.

Functions

get_create_new_organisation_factory(...)

get_template_variables(→ onegov.core.types.RenderData)

get_static_directory(→ str)

get_template_directory(→ str)

get_js_path(→ str)

get_i18n_localedirs(→ list[str])

get_theme(→ onegov.landsgemeinde.theme.LandsgemeindeTheme)

get_backend_ticker(→ Iterator[str])

get_person_votum(→ Iterator[str])

get_start_time(→ Iterator[str])

get_backend_agenda_items(→ Iterator[str])

pages_cache_tween_factory(...)

Cache pages for 5 minutes.

Module Contents

class landsgemeinde.app.LandsgemeindeApp[source]

Bases: onegov.town6.TownApp

Baseclass for Morepath OneGov applications.

property pages_cache: onegov.core.cache.RedisCacheRegion[source]

A cache for pages.

landsgemeinde.app.get_create_new_organisation_factory() Callable[[LandsgemeindeApp, str], Organisation][source]
landsgemeinde.app.get_template_variables(request: onegov.landsgemeinde.request.LandsgemeindeRequest) onegov.core.types.RenderData[source]
landsgemeinde.app.get_static_directory() str[source]
landsgemeinde.app.get_template_directory() str[source]
landsgemeinde.app.get_js_path() str[source]
landsgemeinde.app.get_i18n_localedirs() list[str][source]
landsgemeinde.app.get_theme() onegov.landsgemeinde.theme.LandsgemeindeTheme[source]
landsgemeinde.app.get_backend_ticker() Iterator[str][source]
landsgemeinde.app.get_person_votum() Iterator[str][source]
landsgemeinde.app.get_start_time() Iterator[str][source]
landsgemeinde.app.get_backend_agenda_items() Iterator[str][source]
landsgemeinde.app.pages_cache_tween_factory(app: LandsgemeindeApp, handler: Callable[[LandsgemeindeRequest], Response]) Callable[[LandsgemeindeRequest], Response][source]

Cache pages for 5 minutes.