# HG changeset patch # User Laurent Peuch # Date 1564539380 -7200 # Node ID f14dde9058180d91194b5dd1f45e857c8771c96a # Parent 10b8352b0208de3f29c37df46dcebef0bf4f49da [pyramid/ctl/debugtoolbar] automatically include custom panels on -t diff -r 10b8352b0208 -r f14dde905818 cubicweb/pyramid/__init__.py --- a/cubicweb/pyramid/__init__.py Thu Aug 01 20:30:16 2019 +0200 +++ b/cubicweb/pyramid/__init__.py Wed Jul 31 04:16:20 2019 +0200 @@ -74,6 +74,9 @@ '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()