[Zope-dev] ZClass inheriting from Python Class

Michel Pelletier michel@digicool.com
Thu, 22 Jul 1999 10:28:13 -0400


> -----Original Message-----
> From: Martijn Faassen [mailto:faassen@vet.uu.nl]
> Sent: Thursday, July 22, 1999 9:42 AM
> To: zope-dev@zope.org
> Subject: Re: [Zope-dev] ZClass inheriting from Python Class
> 
> 
> Yes, but in the case of ZClasses I was assuming that my Python mixin
> class would be automagically mixed in with the ZClass, which already
> does all this persistent stuff, right? So that's why I'm puzzled, but
> maybe you're right. In that case I want to know why still. :) I'm
> probably just confused about this, but the ZClasses tutorial also
> doesn't mention having to do more than registering the Python 
> class with
> Zope to make it work.
> 

You do need your subclass to subclass Persistent.

-Michel