[ZODB-Dev] Writing Persistent Class

Stephan Richter srichter at cosmos.phy.tufts.edu
Fri Jan 18 09:58:53 EST 2008


On Thursday 17 January 2008, Kenneth Miller wrote:
>       I'm trying to make one of my classes persistent. The class  
> itself has only simple attributes of general types like  
> int,string,timestamp, no lists etc. It seems to work just fine without  
> subclassing Persistent, but causes an error when I do. Do I always  
> need to subclass persistent?

Yes.

Regards,
Stephan
-- 
Stephan Richter
Web Software Design, Development and Training
Google me. "Zope Stephan Richter"


More information about the ZODB-Dev mailing list