town6.initial_content

Functions

create_new_organisation(→ onegov.org.models.Organisation)

add_resources(→ None)

Module Contents

town6.initial_content.create_new_organisation(app: onegov.core.framework.Framework, name: str, reply_to: str | None = None, forms: Iterable[tuple[str, str, str]] | None = None, create_files: bool = True, path: str | None = None, locale: str = 'de_CH') onegov.org.models.Organisation[source]
town6.initial_content.add_resources(libres_context: libres.context.core.Context) None[source]