Commit e7b35ba4 authored by Laurent Peuch's avatar Laurent Peuch
Browse files

[pyramid/ctl/debugtoolbar] automatically include custom panels on -t

parent 10b8352b0208
......@@ -74,6 +74,9 @@ def settings_from_cwconfig(cwconfig, debugtoolbar=False):
'pyramid.reload_templates': True,
})
if debugtoolbar:
settings["debugtoolbar.includes"] = ["cubicweb.pyramid.debugtoolbar_panels"]
for fname in settings_filenames:
if os.path.exists(fname):
cp = ConfigParser()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment