I used Turbogears 2.4 and update to Turbogears 2.8 (Default kajiki template). I want to change Genshi to Kajiki template. I found than I change html to xhtml for kajiki templates. So I don't change It. I search Turbogears Document, In development.ini file
#config change default extension of kajiki(.xhtml) to .html
templating.kajiki.template_extension = .html
and change base_config.renderes in app_cfg.py
# Set the default renderer
base_config.renderers.append('kajiki')
# Set the default renderer
base_config.default_renderer = 'kajiki'
But It's not easy, In HTML file I want to change kajiki format. I read it http://turbogears.readthedocs.io/en/latest/turbogears/kajiki-xml-templates.html
สมัครสมาชิก:
ส่งความคิดเห็น (Atom)
Turbogears 2.3 on Heroku
Turbogears 2.3 on Heroku Step 1 : Install waitress pip install waitress Step 2 : Install turbogears app gearbox quickstart myproturb...
-
I used Turbogears 2.4 and update to Turbogears 2.8 (Default kajiki template). I want to change Genshi to Kajiki template. I found than I cha...
-
1. go to https://notify-bot.line.me/my/ To Create Token with message 2. Create Toke, Click Generate Token 3. Enter Message t...
-
สำหรับการใช้งานฐานข้อมูล Mysql ร่วมกับ python ติดตั้ง บน CentOS 7 64 bit ติดตั้ง พวก python-devel และ mysql-devel ก่อน 1. yum install pyt...
How to make money in casino games in your pocket | Work On
ตอบลบHow to make money in casino games in your pocket. | Learn the basics of betting on slot machines and งานออนไลน์ slot machines. The more you learn about the