cubicweb/pyramid/__init__.py
changeset 12762 f14dde905818
parent 12751 30b205676182
child 12771 70597b447fb7
--- 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()