With Pyramid 1.0, I could inherit from a template in another package using
the standard Mako syntax:
# Paste config file:
mako.directories = package_A:templates pacakge_B:templates
# templates/layout.mako in package_A
<html>
...
</html>
# templates/app.mako in package_B
<inherit file="/layout.mako" />
...
When I upgraded to Pyramid 1.1, I started getting a template lookup error. I
had to change file="/layout.mako" to file="package_A:templates/layout.mako"
to get it working again.
Has anyone else run into this issue?
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/pylons-discuss/-/s3wj6kY5aHMJ.
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?hl=en.