On 14 November 2012 18:00, Carsten Senger <[email protected]> wrote:
> Implementing OFS.interfaces.ITraversable seems to be not sensible.
> Inheriting from Acquisition.Implicit is not possible due to metaclass
> conflicts. Is it possible to put them into the acquisition chain without
> inheriting from Acquisition.
You can wrap them in an `ImplicitAcquisitionWrapper`. This works even
for e.g. a dict `{}` – I would think that it would on an ORM class as
well.
That said, acquisition can be tricky.
You could also consider not using the ORM's class directly.
\malthe
_______________________________________________
Product-Developers mailing list
[email protected]
https://lists.plone.org/mailman/listinfo/plone-product-developers