Re: [pylons-discuss] How to use 'createObject'?

2017-09-13 Thread Michael Merickel
I know almost nothing about what you just asked but I will point you to https://docs.pylonsproject.org/projects/pyramid/en/1.9-branch/narr/zca.html#using-the-zca-global-api-in-a-pyramid-application as well as the `config.hook_zca` method. - Michael On Wed, Sep 13, 2017 at 12:20 PM, Julian

[pylons-discuss] How to use 'createObject'?

2017-09-13 Thread Julian Sanchez
After reading how to use the zca page I've managed to register a few utilities and adapters through request.registry.registerUtility(...) and request.registry.getUtility(...) How can you hook up the zope.component.createObject method? I did my request.registry.registrerUtility(foo_factory,