Hey Chris ( et al ), when I copied the example in http://docs.repoze.org/bfg/1.2/narr/zca.html with this:
def app(global_settings, **settings): globalreg = getGlobalSiteManager() config = Configurator(registry=globalreg) config.setup_registry(settings=settings) config.hook_zca() config.begin() config.load_zcml('configure.zcml') config.end() return config.make_wsgi_app() my app broke, traversal wouldn't work. I had to alter the code to: config.setup_registry(settings=settings, root_factory=get_root) It confused me because prior to changing the code, root_factory is passed to the Configurator constructor, but needs to be moved I guess to work with the manual registry setup. Not sure how it should read, but thought I should mention the issue. thanks Iain
_______________________________________________ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev