Using Pyramid and mod_wsgi to use mako templates, you simply add this line to development.ini:
mako.directories = house:templates
Unfortunately, Pyramid on Google App Engine does not have a development.ini file, and I get the following error:
File "appengine-monkey/pyramidapp/app/lib/python/pyramid-1.0a9-py2.5.egg/pyramid/mako_templating.py", line 74, in renderer_factory 'Mako template used without a ``mako.directories`` setting') ConfigurationError: Mako template used without a ``mako.directories`` setting
Is there a way to pass this environment variable?
source share