1
cloverstd 2014 年 8 月 3 日
你有 export FLASKR_SETTINGS=/path/to/settings.cfg 吗
|
3
notedit 2014 年 8 月 3 日
你把app.config 打印出来就知道了 出错的意思是没有 DATABASE
没看到你设置 FLASKR_SETTINGS 当然会出错 |
4
notedit 2014 年 8 月 3 日
"""
Simply define the environment variable FLASKR_SETTINGS that points to a config file to be loaded. The silent switch just tells Flask to not complain if no such environment key is set. """ |