But how do I get access to this from inside the template ?
>>> data.keys()
['c', 'display', 'XML', 'tg_flash', 'contacts', 'defined', 'screen',
'sidebar_top', 'header', 'tmpl_context', 'value_of', 'HTML',
'sidebar_bottom', 'tg', 'ET', 'footer', 'contact_class',
'contact_classes']
>>> data['tmpl_context']
<pylons.util.AttribSafeContextObj at 0xac56fac
action=u'routes_placeholder', controller=u'root',
controller_url=u'contact/index', environ={'AUTH_TYPE': 'cookie',
'routes.route': <routes.route.Route ...300'}, form=DataGrid(None,
children=[], **{'fields': [('ID', 'id'), ('Cl...')]}), form_errors={},
form_values=UnicodeMultiDict([]), grid=FlexiGrid('flex', children=[],
**{'usepager': True, 'fetchUR...'}]}), identity=<repoze.who identity
(hidden, dict-like) at 179858284>, pylons=<pylons.util.PylonsContext
object at 0xac56fec>, start_response=<function repl_start_response at
0xad0fa04>, url=u'contact/index'>
BUT no tg_vars !!!
Nowhere !