author | Denis Laxalde <denis.laxalde@logilab.fr> |
Mon, 06 Mar 2017 15:16:53 +0100 | |
changeset 12000 | 1b9fd8bda1cd |
parent 11999 | f69288934d66 |
child 12001 | 89611a994572 |
cubicweb/pyramid/init_instance.py | file | annotate | diff | comparison | revisions |
--- a/cubicweb/pyramid/init_instance.py Mon Mar 06 15:01:41 2017 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,10 +0,0 @@ -from cubicweb.cwconfig import CubicWebConfiguration - - -def includeme(config): - appid = config.registry.settings['cubicweb.instance'] - cwconfig = CubicWebConfiguration.config_for(appid) - - config.registry['cubicweb.config'] = cwconfig - config.registry['cubicweb.repository'] = repo = cwconfig.repository() - config.registry['cubicweb.registry'] = repo.vreg