On Dec 5, 2010, at 8:58 AM, cd34 wrote:

> You might take a look at how pyramid_jinja does it.
> 
> http://docs.pylonshq.com/pyramid/dev/api/configuration.html#pyramid.configuration.Configurator.add_renderer

Or, how to create a template renderer:
http://docs.pylonshq.com/pyramid/dev/narr/views.html#adding-a-new-renderer

And by example, how Pyramid implements the 'json' and 'string' renderers:
https://github.com/Pylons/pyramid/blob/master/pyramid/renderers.py#L133

Cheers,
Ben

-- 
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.

Reply via email to