aboutsummaryrefslogtreecommitdiffstats
path: root/packages/torouter-web/view.py
blob: f4c9b393e97cd0bae93f99a0d74ee89e1682f25b (plain)
1
2
3
4
5
6
7
8
9
10
11
import web
import config

t_globals = dict(
  datestr=web.datestr,
    )

# create the render object
render = web.template.render('tui/views', cache=config.cache,  globals=t_globals)
render._keywords['globals']['render'] = render