oh sweet. thanks.
for some reason, i didn't think of looking at the pyramid_mako docs. I
went through pyramid docs, and the the pyramid+pyramid_mako source, but not
the pyramid_mako docs. sigh.
On Thursday, April 3, 2014 9:06:51 PM UTC-4, Michael Merickel wrote:
>
> pyramid_mako has the abil
pyramid_mako has the ability to render a def directly using the
'tmpl#def.mako' syntax.
http://docs.pylonsproject.org/projects/pyramid_mako/en/latest/#using-a-mako-def-name-within-a-renderer-name
On Thu, Apr 3, 2014 at 7:44 PM, Jonathan Vanasco wrote:
> I've run into a situation where I have so
I've run into a situation where I have some application code in a .mako
file as a 'def' statement. this file&function is used by several other
templates.
i've come into the situation where I now also need to render this def
directly.
i can handle that in the Mako API itself using something li