initialization.flask_db#

Functions#

init_flask_db(app)

Main entry point of the module.

Module Contents#

initialization.flask_db.init_flask_db(app)[source]#

Main entry point of the module.

Initializes Flask-SQLAlchemy. We do not follow the recommended approach in the Flask-SQLAlchemy documentation, we manage the database connection through a global record that is assigned in a callback in the global_handlers initializer.

Most of the actual core database code is in the db module at the root of the application.