Re: [web2py] Re: Appconfig - what's the best way to handle missing values

2015-10-26 Thread Richard Vézina
I opened this issue : https://github.com/web2py/web2py/issues/1093 On Mon, Oct 26, 2015 at 9:59 AM, Richard Vézina wrote: > I think what Donald is talking about arrive when migrate or pool_size are > missing... In line if in the connection string can do the tricks... But it > more hacky... I wou

Re: [web2py] Re: Appconfig - what's the best way to handle missing values

2015-10-26 Thread Richard Vézina
I think what Donald is talking about arrive when migrate or pool_size are missing... In line if in the connection string can do the tricks... But it more hacky... I would make a default AppConfig file and an user or application AppConfig file where application AppConfig override the default one of

[web2py] Re: Appconfig - what's the best way to handle missing values

2015-10-24 Thread 'DenesL' via web2py-users
from gluon.contrib.appconfig import AppConfig myconfig = AppConfig('/private/appconfig.ini', reload=False) does not cause an exception even when loading the default ini below, which has an empty value (last one): ; App configuration ; db configuration [db] uri = sqlite://storage.sqlite mi