On Oct 17, 2011, at 5:52 AM, Malthe Borch wrote:

> According to source code comments, a demo storage will support blobs
> if the underlying storage does. But I find that it's impossible to
> wrap a <zeoclient> in a demo storage and have it working.
> 
> Am I doing something wrong


Since you did not explain what you are doing,
we don't know if it's wrong or right.
:-)


> – or, if it's not supported,


It is supported.

1. Wrap <zeoclient> into <before> storage.
2. Add <filestorage> for changes.
3. Wrap all that into <demostorage>

See zc.beforestorage documentation, section "Blob Support".
http://pypi.python.org/pypi/zc.beforestorage/

Regards,

        Zvezdan

_______________________________________________
For more information about ZODB, see http://zodb.org/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zodb-dev

Reply via email to