python - flask web开发第17章push完成后启动出现问题?
PHP中文网
PHP中文网 2017-04-17 17:17:58
0
1
753
PHP中文网
PHP中文网

认证高级PHP讲师

reply all(1)
小葫芦

I haven’t read that book, so I don’t know the specific code;
Is your config_name ‘heroku’?
Usually KeyError is that the key does not exist in the dict; that is, there is no value for the key ‘heroku’ in your config.
You can use config.get(config_name) to check if it is None.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template