debugging Mako templates in Pyramid -
this related question: how debug mako templates?
one response mentions built in debugging system in mako , there's comment how works in pyramid. however, have no idea how you'd incorporate mentioned pyramid never call mako's template rendering method directly.
there pyramid setting catch mako exceptions.
a small pyramid extensions targeting mako exceptions in pyramid.
if want in touch mako rendering method directly, can go mako preprocessor.
sample code approach.
Comments
Post a Comment