init.py 文件源码

python
阅读 28 收藏 0 点赞 0 评论 0

项目:RobotAIEngine 作者: JK-River 项目源码 文件源码
def __init__(self):
        '''
        ?????
        '''
        settings = {
            'xsrf_cookies': False,
            'site_title': 'demo',
            'debug': options.debug,
            'static_path': os.path.join(options.project_path, 'static'),
            'template_path': os.path.join(options.project_path, 'tpl'),
        }
        handlers = auto_route_handlers
        logging.info("----> %s", handlers)
        tornado.web.Application.__init__(self, handlers, **settings)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号