7 messages in com.googlegroups.pylons-discussRe: cheetah template questoin
FromSent OnAttachments
Jose Galvez09 Jun 2006 22:44 
Jose Galvez13 Jun 2006 10:10 
Thomas Schumm13 Jun 2006 14:22 
Jose Galvez13 Jun 2006 14:28 
Ian Bicking13 Jun 2006 15:02 
Jose Galvez13 Jun 2006 15:05 
Jose Galvez13 Jun 2006 23:03 
Subject:Re: cheetah template questoin
From:Thomas Schumm (pho@phong.org)
Date:06/13/2006 02:22:13 PM
List:com.googlegroups.pylons-discuss

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.