summaryrefslogtreecommitdiff
path: root/repoze/bfg/settings.py
diff options
context:
space:
mode:
Diffstat (limited to 'repoze/bfg/settings.py')
-rw-r--r--repoze/bfg/settings.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/repoze/bfg/settings.py b/repoze/bfg/settings.py
index 08607f756..57295fcdc 100644
--- a/repoze/bfg/settings.py
+++ b/repoze/bfg/settings.py
@@ -55,11 +55,14 @@ def get_options(kw, environ=os.environ):
config_reload_resources = kw.get('reload_resources', '')
effective_reload_resources = asbool(eget('BFG_RELOAD_RESOURCES',
config_reload_resources))
+ configure_zcml = kw.get('configure_zcml', '')
+ effective_configure_zcml = eget('BFG_CONFIGURE_ZCML', configure_zcml)
update = {
'debug_authorization': effective_debug_all or effective_debug_auth,
'debug_notfound': effective_debug_all or effective_debug_notfound,
'reload_templates': effective_reload_all or effective_reload_templates,
'reload_resources':effective_reload_all or effective_reload_resources,
+ 'configure_zcml':effective_configure_zcml,
}
kw.update(update)