initialization.flask_db#
Functions#
|
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_handlersinitializer.Most of the actual core database code is in the
dbmodule at the root of the application.