How to access to variables from configuration file?
I've tried without luck the next:
--------------------------
from paste.deploy import appconfig
filename = 'development.ini'
conf = appconfig('config:' + filename, relative_to='.')
--------------------------
It shows:
ImportError: <module 'foo.config.middleware' from '/home/lala/TG2/foo/
foo/config/middleware.pyc'> has no 'make_app' attribute
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---