author | Rémi Cardona <remi.cardona@logilab.fr> |
Fri, 04 Sep 2015 18:05:51 +0200 | |
changeset 11876 | b35e21fc1f9b |
parent 11631 | faf279e33298 |
permissions | -rw-r--r-- |
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