示例#1
0
from flask_calendar import app as flask_app

app = flask_app.create_app()

if __name__ == "__main__":
    app.run(debug=app.config['DEBUG'], host=app.config['HOST_IP'])
示例#2
0
def app() -> Flask:
    return create_app()
示例#3
0
def app() -> Flask:
    return create_app({
        'TESTING': True,
        'FAILED_LOGIN_DELAY_BASE': 0,
    })
示例#4
0
def app() -> Flask:
    return create_app({"TESTING": True, "FAILED_LOGIN_DELAY_BASE": 0})