OK - found it.  The problem was not with the defaults but with the
foreign key constraint.

     Owner_find = SingleJoin("PCInfo",joinColumn='owner_id_id')
    PC_id = ForeignKey("PCInfo",dbName="PC_id")

 I set this up orignally using the toolbox designer by filling,
pointing and clicking, assuming that the right things would be filled
in, but I'll have to be more careful.  I need to look this over more
clearly to see how to represent this in the model.

AS you noted, the original error:

TypeError: unbound method set() must be called with Owner instance as
first argument (got nothing instead)

requires that an instance of the class be defined before the functions/
variables can be accessed.

Thanks for your help.

Harry


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to