> base_config.renderers.append('mako')
of course should be
base_config.renderers.append('jinja2')
On Apr 4, 9:28 am, NiL <[email protected]> wrote:
> What I would do is, in config/app_cfg.py
>
> base_config.renderers.append('mako')
>
> then in a controller
>
> @expose("jinja2:project.templates.some_template",
> content_type='text/html')
> def index(self, **kw):
>
> HTH
>
> NiL
--
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en.