Kevin Dangoor 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 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, 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 :)

OK -- that option is open to you for PasteScript 1.0+, so you can start 
that transition whenever you feel like it.  It's not exposed in the most 
graceful way, though, so maybe that should be improved (probably 
whenever you start trying it -- Pylons might use Myghty too at some 
point for its templates, but of course inertia will probably prevent 
either project from changing anytime soon ;).

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

As long as you list Cheetah in the requirements this won't be a visible 
change.

-- 
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org

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