Simon Jagoe napsal(a):
>> What am I doing wrong?
> 
> I was trying a similar thing today trying to read the ini config file
> in app_cfg.py, and found it did not work. Digging through the TG2
> code, I discovered, I think, that app_cfg.py is run before the config
> file is parsed. I don't know what the solution would be, I'm afraid.
> > 
I will have to use 'app_cfg.py' then and change it as required during
deployment.

Mabye it would be cool if there was some standard order of configuration
files merging allowing user to choose which configuration option put
where. E. g.: some part of configuration options in *.ini files could be
processed before app_cfg.py and other part (e.g. one section) could be
merged after app_cfg.py is done... maybe I don't understand well whole
TG2 configuration system in its complexity :-).

Thanks for your time!

Martin

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