1
cloverstd 2014-08-03 13:53:32 +08:00
你有 export FLASKR_SETTINGS=/path/to/settings.cfg 吗
|
3
notedit 2014-08-03 14:55:15 +08:00
你把app.config 打印出来就知道了 出错的意思是没有 DATABASE
没看到你设置 FLASKR_SETTINGS 当然会出错 |
4
notedit 2014-08-03 15:01:04 +08:00
"""
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. """ |