This seems a bug in TG. In render.py:

h = conf.package.lib.helpers

should be:

h = conf['package'].lib.helpers

Cheers,

Weida

On Oct 22, 5:43 pm, Jan Koprowski <[email protected]> wrote:
> Hi,
>
>   I try TG2.1rc1. On the beginning I choose Mako templates because I
> know them from Pylons. But inside ${h} and ${helpers} return empty
> dict "{}". How use imports from helpers in Mako templates?
>
> Greetings from Poland!
> --
> Jan Koprowski

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en.

Reply via email to