def register_extensions(app): """Register Flask extensions.""" cors.init_app(app) webpack.init_app(app) socketio.init_app(app, message_queue='redis://') db.init_app(app) if not get_debug_flag(): scheduler.init_app(app) scheduler.start() scheduler.run_job('missingcheck')
def register_extensions(app): """Register Flask extensions.""" bcrypt.init_app(app) cache.init_app(app) db.init_app(app) csrf_protect.init_app(app) login_manager.init_app(app) debug_toolbar.init_app(app) migrate.init_app(app, db) webpack.init_app(app) return None
def register_extensions(app): """Register Flask extensions.""" webpack.init_app(app) cors.init_app(app) return None