Flask Documentation (1.1.x)
use_reloader to False. A possible useful pattern for configuration is to set the following in your config.yaml (change the block as appropriate for your application, of course): FLASK: DEBUG: True DEBUG_WITH_APTANA: # To allow aptana to receive errors, set use_debugger=False app = create_app(config="config.yaml") use_debugger = app.debug and not(app.config.get('DEBUG_WITH_APTANA')) app.run(use_debugger=use_debugger0 码力 | 428 页 | 895.98 KB | 1 年前3Flask Documentation (1.1.x)
use_reloader to False. A possible useful pattern for configuration is to set the following in your config.yaml (change the block as appropriate for your application, of course): 70 Chapter 1. User’s Guide Flask "__main__": # To allow aptana to receive errors, set use_debugger=False app = create_app(config="config.yaml") use_debugger = app.debug and not(app.config.get('DEBUG_WITH_APTANA')) app.run(use_debugger=use_debugger0 码力 | 291 页 | 1.25 MB | 1 年前3
共 2 条
- 1
相关搜索词