Ejemplo n.º 1
0
def test_web_only_mysql_security_dynaconf_allfeatures():
    answers = {
        "application_type": "web_only",
        "auth_framework": "security_web",
        "config_framework": "dynaconf",
        "database": "mysql",
        "features": ["migrate", "caching", "limiter", "debugtoolbar", "admin"],
    }
    args = Namespace(project_name="myproject", e=True, p=True, v=False)
    create_project(args, answers)
Ejemplo n.º 2
0
def flask_sketch(args):
    print(f.renderText("Flask Sketch"))

    answers = prompt(get_questions(), style=cli_style_2)
    if answers:
        create_project(args, answers)