I think we need at least two methods for getting conf's. First is in
project code and this method is project depended:
from projectname.lib.base import *
g.pylons_config.app_conf

Second is project independed. Used in shared libs, middlewares etc. Now
most often used is:
from paste.deploy.config import CONFIG
CONFIG['app_conf']

Climbus


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

Reply via email to