[web2py] Re: AppConfig vs SETTINGS

2015-07-10 Thread 黄祥
also, please take a look at this discussion ref: https://groups.google.com/forum/#!topic/web2py/xl2D_RZfGic best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/li

[web2py] Re: AppConfig vs SETTINGS

2015-07-10 Thread Leonel Câmara
Because ConfigParser doesn't work like that: https://docs.python.org/2/library/configparser.html -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You recei

[web2py] Re: AppConfig vs SETTINGS

2015-07-10 Thread Dmitry Ermolaev
why print myconfig['db']['uri']['any2'] why not use dots? print myconfig.db..url.any2. in Storage it work -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issue