Ben Bangert wrote:
> On Oct 23, 2007, at 9:41 AM, Philip Cooper wrote:
> 
>> Actually not.
>>
>> pylons.config.keys() shows me all of the things
>> in the config file under the section [app:main]
>> It would work if I DON'T put my "crm" stuff in a different section
>> but I put it there because I have all kinds of apps that use
>> this config stuff.  If I don't put it in it's own section, I
>> will likely have all kinds of name collisions.  Things like logfile,
>> dir, extension, classes are all too common.
>>
>> I'd rather not have to hack up my code with crm_dir, crm_extension
>> etc. Otherwise my config life gets harder not easier.
> 
> Ohh, sorry, I didn't notice the custom section header. I'm not sure how 
> to get to these at all. Nor am I sure what Paste does with sections that 
> aren't directly applicable to the application section.

You have to use config:config.ini#csm, to refer to the [app:csm] section.

-- 
Ian Bicking : [EMAIL PROTECTED] : http://blog.ianbicking.org

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