Onegov Town API

Application

Contains the application which builds on onegov.core and uses more.chameleon.

It’s possible that the chameleon integration is moved to onegov.core in the future, but for now it is assumed that different applications may want to use different templating languages.

class onegov.town.app.TownApp[source]

Views

The settings view, defining things like the logo or color of the org.

Theme

class onegov.town.theme.TownTheme(compress=True)[source]
property post_imports

Imports added after the foundation import. The imports must be found in one of the paths (see extra_search_paths).

The form of a single import is ‘example’ (which would search for files named ‘example.scss’)

property extra_search_paths

A list of absolute search paths added before the actual foundation search path.

Initial Content

Homepage Widgets