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