ini config values in app_cfg

10 views
Skip to first unread message

Moritz Schlarb

unread,
May 14, 2013, 5:33:12 AM5/14/13
to turbo...@googlegroups.com
One short general question:

What's the working/recommended way to access the configuration values from the ini in app_cfg?

Cheers,
Moritz

Alessandro Molina

unread,
May 15, 2013, 6:47:43 AM5/15/13
to TurboGears .
Set a startup hook inside the app_cfg and perform any change you need during the startup hook. Otherwise the configuration values won't be available as app_cfg is executed before loading the configuration values (as the values have to be loaded inside app_cfg).


--
You received this message because you are subscribed to the Google Groups "TurboGears" group.
To unsubscribe from this group and stop receiving emails from it, send an email to turbogears+...@googlegroups.com.
To post to this group, send email to turbo...@googlegroups.com.
Visit this group at http://groups.google.com/group/turbogears?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages