1
cloverstd Aug 3, 2014
你有 export FLASKR_SETTINGS=/path/to/settings.cfg 吗
|
3
notedit Aug 3, 2014
你把app.config 打印出来就知道了 出错的意思是没有 DATABASE
没看到你设置 FLASKR_SETTINGS 当然会出错 |
4
notedit Aug 3, 2014
"""
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. """ |