wtfs.app

Module Contents

Classes

WtfsApp

The Wtfs application. Include this in your onegov.yml to serve

Functions

get_static_directory(→ str)

get_template_directory(→ str)

get_theme(→ onegov.wtfs.theme.WtfsTheme)

get_i18n_localedirs(→ list[str])

get_i18n_used_locales(→ set[str])

get_i18n_default_locale(→ str)

get_shared_assets_path(→ str)

get_js_path(→ str)

get_css_path(→ str)

get_webasset_output(→ str)

get_frameworks_asset(→ Iterator[str])

get_common_asset(→ Iterator[str])

class wtfs.app.WtfsApp[source]

Bases: onegov.core.Framework, onegov.form.FormApp, onegov.file.DepotApp, onegov.user.UserApp

The Wtfs application. Include this in your onegov.yml to serve it with onegov-server.

serve_static_files = True[source]
principal() onegov.wtfs.models.Principal[source]
add_initial_content() None[source]
wtfs.app.get_static_directory() str[source]
wtfs.app.get_template_directory() str[source]
wtfs.app.get_theme() onegov.wtfs.theme.WtfsTheme[source]
wtfs.app.get_i18n_localedirs() list[str][source]
wtfs.app.get_i18n_used_locales() set[str][source]
wtfs.app.get_i18n_default_locale() str[source]
wtfs.app.get_shared_assets_path() str[source]
wtfs.app.get_js_path() str[source]
wtfs.app.get_css_path() str[source]
wtfs.app.get_webasset_output() str[source]
wtfs.app.get_frameworks_asset() Iterator[str][source]
wtfs.app.get_common_asset() Iterator[str][source]