On Thu, Sep 27, 2007 at 03:39:57PM +0900, ?$BfV!!o# wrote:
> 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)

   Why do you do this?

> from dir(pc.licences) i found a __init__ method(function?)
> but didnt work...

   What do you want to achieve? and in what way it doesn't work?

Oleg.
-- 
     Oleg Broytmann            http://phd.pp.ru/            [EMAIL PROTECTED]
           Programmers don't die, they just GOSUB without RETURN.

-------------------------------------------------------------------------
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
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to