These things are not automatically exposed in Pyramid like they were in Pylons.
Pyramid's request object has a "tmpl_context", but to expose it you must use it in the template as "request.tmpl_context" or you can inject it as "c" or some such via a BeforeRender event. A helper object in templates can be achieved using the cookbook recipe here: http://docs.pylonsproject.org/projects/pyramid_cookbook/dev/templates.html#using-a-before-render-event-to-expose-an-h-helper-object -- Michael -- 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.
