On Aug 18, 9:31 pm, "[email protected]" <[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.
Another other solution is to use the `config` object that's returned from `load_environment` directly. In another thread I said that I think `pylons.config` should only be used in a request context, while the `config` object returned from `load_environment` should be used everywhere else--e.g., during app startup and middleware setup. Does anyone take exception to this generalization? If this is accurate, maybe the docs could clarify this (though I haven't looked at the docs in a long time, so maybe it's already there). -- 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.
