Hi Christoph!

On 27 июн, 17:00, Christoph Zwerschke <[email protected]> wrote:
> Not tested, but try adding this to lib/helpers.py:
>
> import mymodule
>
> def add_global_tmpl_vars():
>      return dict(mymodule=mymodule)

Yes, plus an extra line in config/app_cfg.py:

base_config.variable_provider = helpers.add_global_tmpl_vars

Thanks a lot!

(P.S. just needed markdown from webhelpers ;)

--
     Sergei



--~--~---------~--~----~------------~-------~--~----~
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