scout/server/app.py
def configure_extensions(app):
    """Configure Flask extensions."""
    extensions.toolbar.init_app(app)
    extensions.bootstrap.init_app(app)
    extensions.mongo.init_app(app)
    extensions.store.init_app(app)
    extensions.login_manager.init_app(app)
    extensions.oauth.init_app(app)
    extensions.mail.init_app(app)
    Markdown(app)

    if app.config.get('SQLALCHEMY_DATABASE_URI'):
        configure_coverage(app)

    if app.config.get('LOQUSDB_SETTINGS'):
        # setup LoqusDB
        extensions.loqusdb.init_app(app)
def configure_extensions(app):
    """Configure Flask extensions."""
    extensions.toolbar.init_app(app)
    extensions.bootstrap.init_app(app)
    extensions.mongo.init_app(app)
    extensions.store.init_app(app)
    extensions.login_manager.init_app(app)
    extensions.oauth.init_app(app)
    extensions.mail.init_app(app)
    Markdown(app)

    if app.config.get('SQLALCHEMY_DATABASE_URI'):
        configure_coverage(app)

    if app.config.get('LOQUSDB_SETTINGS'):
        # setup LoqusDB
        extensions.loqusdb.init_app(app)
Configure Flask extensions.