Sorry for bothering you again. I really didn't knew where to ask about
it, cause Pylons apparently supports Jinja2 templates but this may be
an issue with Jinja2's documentation as well...

So i'm doing as mentioned here:
http://jinja.pocoo.org/2/documentation/integration#pylons

And what's next... Apparently, pylons.templating.render_template looks
for jinja_env in globs['app_globals'] and throws:

AttributeError: 'Globals' object has no attribute 'jinja2_env'

Not sure where the globs dictionary came from. I looked at traceback
and it shows 'pylons.app_globals' key, but gives KeyError when asked
for it. On the other hand, modifying docs code and trying:

config['app_globals'].jinja_env = ...

in project's environment.py gives KeyError as well. Just how are those
globals tossed around?

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
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.

Reply via email to