RE: [Zope-dev] ZClass inheriting from Python Class
-----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
Michel Pelletier wrote: [snip questions]
You do need your subclass to subclass Persistent.
Thanks! I'll do that then. Why, by the way? I mean, naively I'd think I'm mixing my class into a (Z)class already defining persistency mechanisms. Probably I just don't know enough about Zope's persistence mechanisms. I suppose I should go study the source, any hints on where to look? :) Regards, Martijn
participants (2)
-
Martijn Faassen -
Michel Pelletier