[Grok-dev] PageTemplateFile('path/to/template.cpt') does not work anymore
Jan-Wijbrand Kolman
janwijbrand at gmail.com
Mon May 7 09:38:19 UTC 2012
Hi,
With the new release of grokcore.chameleon it seem the following pattern
does not work anymore:
from grokcore.chameleon.components import PageTemplateFile
class MyView(grok.View):
template = PageTemplateFile('templates/mytemplate.cpt')
....
I guess this is because the template baseclasses in z3c.pt are not used
anymore as such in grokcore.chameleon?
Anyone an idea? I'll look into it as well now...
regards, jw
More information about the Grok-dev
mailing list