On Feb 6, 2010, at 10:13 AM, Robert Forkel wrote:

> hm. the config object i now pass into make_map doesn't seem to be
> initialized from the config file.
> does this change mean that i can't use "from pylons import config" anymore?

What is the order in your environment.py of the function calls? As long as the 
init_app is called before the make_map, then the config passed in will have all 
the proper values in it. You can use the 'from pylons import config' line still 
throughout your app, but its recommended you pass it around in the 
initialization stage.

- Ben

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

Reply via email to