I set a key in the globals dict as such:
cherrypy.request.jinja2_env.globals['food'] ='bar'
In my template, I tried rendering the value of "foo" as such:
globals:{{ globals }}, this did nor produce anything, not even an
error, is there something that I have missed?
Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pocoo-libs" 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/pocoo-libs?hl=en
-~----------~----~----~----~------~----~------~--~---