initialization.global_handlers#

Functions#

init_global_handlers(app)

Main entry point of the module.

Module Contents#

initialization.global_handlers.init_global_handlers(app)[source]#

Main entry point of the module.

Assigns a number of request callbacks and error handlers. This includes storing a database connection in g.db_session and fetching the currently logged-in user in g.current_user.