controllers/default.py
from tenjin import *
from tenjin.helpers import *
engine = tenjin.Engine(path=['views'])
def index():
context = dict(form=SQLFORM(db.table))
return engine.render('page.pyhtml', context)
That should works!
http://www.kuwata-lab.com/tenjin/pytenjin-users-guide.html#
I was reading about python templates engines and found about *tenjin* -
http://www.kuwata-lab.com/tenjin
Its seams that the main feature is speed as you can see in these
benchmarks:
http://www.kuwata-lab.com/tenjin/pytenjin-users-guide.html#benchmark
Is it possible to use the tenjin template e
2 matches
Mail list logo