hi all,
class PC(SQLObject):
user = UnicodeCol(leng=50)
licences = RelatedJoin('Licence')
class Licence(SQLObject):
name = UnicodeCol(leng=50)
pcs = RelatedJoin('PC')
i inited pc.licences in this way;
while len(pc.licences) >= 1:
tmp = pc.licences[0]
pc.removeLicence(tmp)
from dir(pc.licences) i found a __init__ method(function?)
but didnt work...
is there a smatter way to init in relatedjoin?
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
sqlobject-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss