Thanks Thomas for the confirmation.  That's pretty much the conclusion I had come to, but was hopping that I was missing some magic declarative that would do the trick for me, I had written a extension for webware that compiled templates on the fly for me, but the code was pretty messy and I'm not sure how/if  it would work with turbocheetah.  In any event I'll most likely just compile the parents by hand since that seems to work the best anyway
Jose

On 6/13/06, Thomas Schumm <[EMAIL PROTECTED]> wrote:

On Tuesday 13 June 2006 13:10, Jose Galvez wrote:
> > Does anyone know if you can use the extends directive in a cheetah
> > template without compiling it first with pylons?

I can't speak specifically in the context of Pylons or Buffet, but with
Cheetah by itself, I know that you do have to compile the parent before you
can inherit from it.  They use a standard python import when using the
extends directive.

Before I started playing around with Pylons, I was working on my own framework
that used Cheetah, and while it was pretty easy to get it automatically
recompiling and using templates, it was non-trivial to automatically compile
a template's parent templates.

--
Tom Schumm
http://www.phong.org/



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

Reply via email to