[Zope-CMF] Content types based on Python objects

Charlie Clark charlie at begeistert.org
Wed Nov 28 13:05:26 EST 2007


Am 28.11.2007 um 14:03 schrieb Charlie Clark:

> class Grid(dict, PortalContent)
> ...
>
> TypeError: Error when calling the metaclass bases multiple bases  
> have instance lay-out conflict


Looks like using the old favourite UserDict solve the incompatability  
problem.

class Grid(UserDict, PortalContent):
...

Charlie
--
Charlie Clark
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-938-5360
GSM: +49-178-782-6226





More information about the Zope-CMF mailing list