On 12/13/06, Kevin Dangoor <[EMAIL PROTECTED]> wrote: > > On Dec 13, 2006, at 10:47 AM, Ian Bicking wrote: > > > > > Will it cause any problems in TurboGears if Paste Script stops > > requiring > > Cheetah in the next release? I remenber we discuss this over in the paste list, I have tried to take that dependancy out by splitting the templates into multiple packages, but I'm not entirely sure if this will be a good idea.
> > I don't think that you are using Cheetah > > in your project templates, but I'm not clear on that. If Paste Script > > stops requiring Cheetah than projects that use Cheetah templates in > > their new-project templates will simply have to require it themselves. > > Paste Script 1.0 already has an option where you can use arbitrary > > templating engines. (I wouldn't mind directly including a > > simple-but-fancier-than-string.Template templating language in Paste > > Script, as kevin pointed out we are only using the #if, and it's basically to see if there needs to be SQLAlchemy or SQLObject code involved. > > but I'm not sure what -- speed is unimportant in this case, as > > are most features except stability, simplicity, and orthogonality > > to the Python code you are rendering) > > We are actually using Cheetah. We have some if blocks in the > templates. Of course, I'd rather start using Genshi's text templates > in the future :) yes but TG 1.x will still need to depend on this and I'm not sure if it will be a good idea to trade Cheetah for genshi, and having to require both genshi and kid just doesn't seems right. > > I think we'll just need to be sure we're using that option for the > arbitrary engine. TG already lists Cheetah as a requirement. > yes but we did that because it was started to be use in the pastescript templates. other then that I think there is no other place where Cheetah is used. > Kevin > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
