> - Would one still be able to have templates with the same base name?
> - Does this work with all template engines supported by TG2?

Well, this will work with Mako, Genshi, and Jinja at the moment.   The
only thing nessisary to make it work with a new template system is a
render_whatever() function which takes a template name and a dict, and
returns the rendered string.

Pylons has render_genshi, render_mako, and render_jinja functions, and
it would be trivial to add new ones.   We will also put a dictionary
of renderers into the config in environment.py, so tg2 users should be
easily able to define and use custom renderers.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" 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-trunk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to