Пример #1
0
def create_app(config=None, test=False, admin_instance=None, **settings):
    """Creates full app with all extensions loaded"""
    app = create_app_base(config=config,
                          test=test,
                          admin_instance=admin_instance,
                          **settings)
    configure_extensions(app, admin_instance or admin)
    return app
Пример #2
0
def create_app(test=False, **settings):
    """Creates full app with all extensions loaded"""
    app = create_app_base(test=test, **settings)
    configure_extensions(app)
    return app
Пример #3
0
def create_app(test=False, **settings):
    """Creates full app with all extensions loaded"""
    app = create_app_base(test=test, **settings)
    configure_extensions(app)
    return app