Hi,
While waiting for pyramid_chameleon_genshi to stabilize (I've had a
few bugs/glitches in 0.2), is there a way to configure the genuine
Genshi to be the default renderer without going through --
from genshi.template import TemplateLoader
loader = TemplateLoader([os.path.sep.join([here, 'templates'])])
tmpl = loader.load('template.genshi')
c = {'foo': 'bar'}
return Response(tmpl.generate(**c).render())
in every view function?
Thanks.
Jerry
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" 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/pylons-discuss?hl=en.