landsgemeinde.app
Classes
Baseclass for Morepath OneGov applications. |
Functions
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Cache pages for 5 minutes. |
Module Contents
- class landsgemeinde.app.LandsgemeindeApp[source]
Bases:
onegov.town6.TownApp
Baseclass for Morepath OneGov applications.
- landsgemeinde.app.get_create_new_organisation_factory() collections.abc.Callable[[LandsgemeindeApp, str], onegov.org.models.Organisation] [source]
- landsgemeinde.app.get_template_variables(request: onegov.landsgemeinde.request.LandsgemeindeRequest) onegov.core.types.RenderData [source]
- landsgemeinde.app.pages_cache_tween_factory(app: LandsgemeindeApp, handler: collections.abc.Callable[[onegov.landsgemeinde.request.LandsgemeindeRequest], webob.Response]) collections.abc.Callable[[onegov.landsgemeinde.request.LandsgemeindeRequest], webob.Response] [source]
Cache pages for 5 minutes.