|
Malthe,
Thanks for the quick reply! I read the documentation twice to find out what I was doing wrong. Did I miss a paragraph about load and file-based templates? Anyway: my application uses string-based templates. The contents of all files *.xml are read when the application initializes, the resulting strings are passed to chameleon.PageTemplate, and the compiled templates are stored: template['base'] = PageTemplate(read_file('base.xml')) template['default'] = PageTemplate(read_file('default.xml')) What is the best way for the 'default' template to refer to the 'base' template? Regards, Nico Op 10-08-15 om 18:13 schreef Malthe Borch: Note that load is only available on file-based templates. Is that what you're using? -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/pylons-discuss. For more options, visit https://groups.google.com/d/optout. |
- Re: Chameleon macro examples Mike Orr
- Re: Chameleon macro examples Malthe Borch
- Re: Chameleon macro examples Mike Orr
- Re: Chameleon macro examples Jonathan Vanasco
- Re: Chameleon macro examples bismigalis
- Re: Chameleon macro examples Malthe Borch
- Re: Chameleon macro examples Mike Orr
- Re: Chameleon macro examples Mike Orr
- Re: Chameleon macro examples Malthe Borch
- [pylons-discuss] Re: Chameleon macro example... Nico Poppelier
- [pylons-discuss] Re: Chameleon macro exa... Nico Poppelier
- [pylons-discuss] Re: Chameleon macr... Nico Poppelier
