author | Christophe de Vienne <christophe@unlish.com> |
Sat, 15 Nov 2014 20:26:15 +0100 | |
changeset 11525 | 5eb4e27e9998 |
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