aboutsummaryrefslogtreecommitdiffstats
path: root/packages/torouter-web/src/tui/view.py
blob: 0252ad80aa8f0bedc3745990981938a5a567af71 (plain)
1
2
3
4
5
6
7
8
9
10
11
import web
from tui 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