On 13/06/2006, at 15:59, Kevin Dangoor wrote:

>
> On 6/13/06, Damjan <[EMAIL PROTECTED]> wrote:
>>
>> What is the choice of restricted templates for TurboGears?
>> By restricted I mean, the template should not be able to execute
>> arbitrary python code (or maybe it should not execute anything at  
>> all).
>
> If you can find a restricted template engine for Python that does what
> you'd like, it can most likely be wrapped as a template engine plugin
> (if it hasn't already been).
>
> ClearSilver (which is written in C) is one obvious choice, though I
> personally dislike its syntax.

A template plugin for ClearSilver [1] would be awesome! (hint,  
hint ;) ) As Kevin said, it will solve your problem nicely as it  
doesn't allow (python) code to be executed. it's what Trac uses and,  
I believe, Google Groups too. Very fast.

Alberto

[1] http://www.clearsilver.net/

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

Reply via email to