Tyring out z3c.extfile, I added in zope.conf file the following
product configuration section:

<product-config z3c.extfile>
  storagedir var/filestorage
</product-config>

This doesn't not work as expected when I am using Paste and wsgi.
Looking into the code, I think the config function in zope.app.wsgi
should be patched by adding:

from zope.app.appsetup.product import setProductConfigurations

def config(...)
...
    if options.product_config:
        setProductConfigurations(options.product_config)
...

This is exactly what zope.app.server does when starting up the server.

Or is product configuration explicitly not desired with zope.app.wsgi?

-- 
Hong Yuan

大管家网上建材超市
装修装潢建材一站式购物
http://www.homemaster.cn
_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to