python - tornado使用mako模板无法进行include 和 inherit
巴扎黑
巴扎黑 2017-04-18 10:14:40
0
1
371

如题,今天把mako模板放到tornado中,使用的代码例子在这个地址:http://www.jb51.net/article/6...
请参看 tornado部分。
配置好后,mako模板的确启动了,但是 我想把 base.html 进入到别的页面 使用inherit的时候 整个页面就刷不出东西来了,所以请教如何解决 谢谢,我用的是python3.5

ps 最新发现 一旦 html里 我输入了中文 模板就会消失 求问是怎么回事儿

巴扎黑
巴扎黑

reply all(1)
Peter_Zhu

Enable debug in Application to view error messages.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!