app_cfg.py is loaded before tg.config or pylon.config are initialized,
then
noway to use the config .ini file parameters here !

anyway I found this is tg/configuration.py :

in app_cfg.py, replace

from tg.configuration import AppConfig, config
base_config = MyAppConfig()

by
from tg.configuration import AppConfig, config
class MyAppConfig(AppConfig):
    def after_init_config(self):
        # put whatever you want here :-)
        config['pylons.strict_c'] = False

base_config = MyAppConfig()

the after_init_config method is called after config as been
initialized !

Regards

--
Alain Spineux                   |  aspineux gmail com
Your email 100% available |  http://www.emailgency.com
Send backup mail report    | http://www.magikmon.com/mkbackup

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en.

Reply via email to