Re: [pylons-discuss] Overriding configuration files (ini)

2013-10-16 Thread Han Chuang
) HTH Iain On Tue, Oct 15, 2013 at 10:27 AM, Han Chuang mudd...@gmail.comjavascript: wrote: Hi, I've begun work on a pylons project, and I wanted to be able to use multiple custom configuration files. This would mean can modify my current HelloWorld.ini however much I want

Re: [pylons-discuss] Overriding configuration files (ini)

2013-10-16 Thread Michael Merickel
they should be preferred if in multiple places) HTH Iain On Tue, Oct 15, 2013 at 10:27 AM, Han Chuang mudd...@gmail.com wrote: Hi, I've begun work on a pylons project, and I wanted to be able to use multiple custom configuration files. This would mean can modify my current HelloWorld.ini however

Re: [pylons-discuss] Overriding configuration files (ini)

2013-10-16 Thread Mike Orr
On Wed, Oct 16, 2013 at 9:34 AM, Han Chuang muddy...@gmail.com wrote: Unfortunately, one of the key things I want to do with this is to change the port used, which I'm not sure can be accessed through python. I found an old discussion, talking about adding a line use = config:HelloWorld.ini

[pylons-discuss] Overriding configuration files (ini)

2013-10-15 Thread Han Chuang
Hi, I've begun work on a pylons project, and I wanted to be able to use multiple custom configuration files. This would mean can modify my current HelloWorld.ini however much I want, but there are values that it could take from override.ini if needed. This way I can have several versions

Re: [pylons-discuss] Overriding configuration files (ini)

2013-10-15 Thread Iain Duncan
file ( and in what order they should be preferred if in multiple places) HTH Iain On Tue, Oct 15, 2013 at 10:27 AM, Han Chuang muddy...@gmail.com wrote: Hi, I've begun work on a pylons project, and I wanted to be able to use multiple custom configuration files. This would mean can modify my

Configuration Files

2008-01-07 Thread Alagu Madhu
hi all, app_globals.py: from pylons import config def __init__(self): cache_dir = config.get('cache_dir') print cache_dir I get 'None' value... Thanks Madhu Alagu --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Re: Configuration Files

2008-01-07 Thread Alec
config[app_conf].get(cache_dir, None) Alagu Madhu 写道: hi all, app_globals.py: from pylons import config def __init__(self): cache_dir = config.get('cache_dir') print cache_dir I get 'None' value... Thanks Madhu Alagu