cubicweb/pyramid/__init__.py
changeset 12762 f14dde905818
parent 12751 30b205676182
child 12771 70597b447fb7
equal deleted inserted replaced
12761:10b8352b0208 12762:f14dde905818
    71             'pyramid.debug_authorization': True,
    71             'pyramid.debug_authorization': True,
    72             'pyramid.debug_notfound': True,
    72             'pyramid.debug_notfound': True,
    73             'pyramid.debug_routematch': True,
    73             'pyramid.debug_routematch': True,
    74             'pyramid.reload_templates': True,
    74             'pyramid.reload_templates': True,
    75         })
    75         })
       
    76 
       
    77         if debugtoolbar:
       
    78             settings["debugtoolbar.includes"] = ["cubicweb.pyramid.debugtoolbar_panels"]
    76 
    79 
    77     for fname in settings_filenames:
    80     for fname in settings_filenames:
    78         if os.path.exists(fname):
    81         if os.path.exists(fname):
    79             cp = ConfigParser()
    82             cp = ConfigParser()
    80             cp.read(fname)
    83             cp.read(fname)