Getting custom config from ZCML¶
If you want to retrieve some configuration options from zcml use this code:
from zope.app.appsetup.product import getProductConfiguration
config = getProductConfiguration('database') # plug your own name in here
dbname = config.get('dbname', 'default') # query your own attribute here