author | Christophe de Vienne <cdevienne@gmail.com> |
Wed, 16 Sep 2015 16:39:53 +0200 | |
changeset 11601 | 23a62d151382 |
parent 11492 | b0b8942cdb80 |
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