On Wed, 2010-08-18 at 21:31:12 -0700, [email protected] wrote:
> try this in your config/environment.py's at the END of
> load_environment function
> 
>     pylons.config.update(config)
>     tm_pylons.start_extension()
> 
> without update, the recent pylons doens't work for me, too.

What I did instead was this (in lib/app_globals.py):

  class Globals(object):
      def __init__(self, config):
          ...
          from turbomail.adapters import tm_pylons
          tm_pylons.config = config
          tm_pylons.start_extension()

-- 
Audrius Kažukauskas

Attachment: pgpq6DgvbH88U.pgp
Description: PGP signature

Reply via email to