cubicweb/pyramid/__init__.py
changeset 12025 ba79f4a4f5d8
parent 11987 d432911e3c26
child 12052 1a1d2f5faddb
equal deleted inserted replaced
12024:5f46195b9595 12025:ba79f4a4f5d8
   229 
   229 
   230     for name in aslist(config.registry.settings.get('cubicweb.includes', [])):
   230     for name in aslist(config.registry.settings.get('cubicweb.includes', [])):
   231         config.include(name)
   231         config.include(name)
   232 
   232 
   233     config.include('cubicweb.pyramid.core')
   233     config.include('cubicweb.pyramid.core')
   234     config.include('cubicweb.pyramid.syncsession')
       
   235 
   234 
   236     if asbool(config.registry.settings.get('cubicweb.bwcompat', True)):
   235     if asbool(config.registry.settings.get('cubicweb.bwcompat', True)):
   237         config.include('cubicweb.pyramid.bwcompat')
   236         config.include('cubicweb.pyramid.bwcompat')
   238 
   237 
   239     if cwconfig.debugmode:
   238     if cwconfig.debugmode: