2017年10月20日

tornado设置settings

摘要: 1.作用 设置应用程序相关参数 2.用法 3.相关参数详解 1)debug 设置应用程序为debug模式,debug模式下,修改了.py文件后,application会自动重启。 或者在.py文件中引入自动启动包 import tornado.autoreload 在部署正式时,需将debug=Fa 阅读全文

posted @ 2017-10-20 13:49 迪米特 阅读(1014) 评论(0) 推荐(0) 编辑

tornado源码分析-模块介绍

摘要: 1.Core web framework tornado.web web框架功能模块,包括RequestHandler和Application两个重要的类 tornado.httpserver 实现了一个无阻塞HTTP服务器 tornado.template html模板系统(tornado后端和前 阅读全文

posted @ 2017-10-20 11:02 迪米特 阅读(226) 评论(0) 推荐(0) 编辑

导航