geonature.app#

Démarrage de l’application

Classes#

Functions#

configure_alembic(alembic_config)

This function add to the 'version_locations' parameter of the alembic config the

get_locale()

create_app([with_external_mods])

Module Contents#

geonature.app.configure_alembic(alembic_config)[source]#

This function add to the “version_locations” parameter of the alembic config the “migrations” entry point value of the “gn_module” group for all modules having such entry point. Thus, alembic will find migrations of all installed geonature modules.

class geonature.app.MyJSONProvider[source]#

Bases: flask.json.provider.DefaultJSONProvider

static default(o)[source]#
geonature.app.get_locale()[source]#
geonature.app.create_app(with_external_mods=True)[source]#