1 Star 0 Fork 372

陆晨/walle-web

forked from wushuiyong/walle-web 
Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
waller.py 451 Bytes
Copy Edit Raw Blame History
wushuiyong authored 2018-11-20 20:55 . new version
# -*- coding: utf-8 -*-
"""Create an application instance."""
import sys
from flask.helpers import get_debug_flag
from walle.app import create_app
from walle.config.settings_dev import DevConfig
from walle.config.settings_test import TestConfig
from walle.config.settings_prod import ProdConfig
CONFIG = DevConfig if get_debug_flag() else ProdConfig
if len(sys.argv) > 2 and sys.argv[2] == 'test':
CONFIG = TestConfig
app = create_app(CONFIG)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/roaddust/walle-web.git
git@gitee.com:roaddust/walle-web.git
roaddust
walle-web
walle-web
master

Search