diff -r c4673bc11053 -r d753d6a6798f server/__init__.py --- a/server/__init__.py Thu Oct 11 18:42:13 2012 +0200 +++ b/server/__init__.py Fri Oct 05 16:54:22 2012 +0200 @@ -165,6 +165,8 @@ # on connection config.creating = True config.consider_user_state = False + config.cubicweb_appobject_path = set(('hooks', 'entities')) + config.cube_appobject_path = set(('hooks', 'entities')) # only enable the system source at initialization time repo = Repository(config, vreg=vreg) schema = repo.schema @@ -242,6 +244,9 @@ # restore initial configuration config.creating = False config.consider_user_state = True + # (drop instance attribute to get back to class attribute) + del config.cubicweb_appobject_path + del config.cube_appobject_path print '-> database for instance %s initialized.' % config.appid