[Zope3-Users] how to model a 1-to-1 relation

john saponara john at saponara.net
Thu Jan 10 17:00:40 EST 2008


I want to allow the user to create car and driver objects in a 
limoService container.  Car objects will stand alone, but each driver 
object should contain a car object by reference (not by value) and the 
driver add form should allow the user to choose which car the new driver 
object will have.  Should IDriver's car attribute be a schema.Object or 
a schema.Choice?

Thanks



More information about the Zope3-users mailing list