Debug模式的三种配置方法
摘要:使用`app.config.from_object`的方式加载配置文件: 1. 导入`import config`。2. 使用`app.config.from_object(config)`。 ### 使用`app.config.from_pyfile`的方式加载配置文件: 这种方式不需要`impo
阅读全文
posted @ 2019-10-12 13:27
posted @ 2019-10-12 13:27
posted @ 2019-10-12 13:24
posted @ 2019-10-12 13:23