geonature.app

Démarrage de l’application

Module Contents

Classes

MyJSONProvider

Provide JSON operations using Python's built-in json

Functions

configure_alembic(alembic_config)

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

create_app([with_external_mods])

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(app: flask.sansio.app.App)[source]

Bases: flask.json.provider.DefaultJSONProvider

Provide JSON operations using Python’s built-in json library. Serializes the following additional data types:

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