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