[orm-devel] orm/dbclass.py typo and a question on one2many deletions

Eric Walstad orm-devel@mailman.tux4web.de
Sun, 12 Jan 2003 21:58:00 -0800


Thanks Diedrich!!

Diedrich Vorberg wrote:
> Hi Ross,
> 
> 
>>>BTW: I'm going to write the many2manyList __del*__ methods some time
>>>soon, they should be available shortly.
>>
>>Excellent!  I'm just getting started on building a gui interface to a 
>>many2many relationship.
> 
> 
> I've writen the many2manyList.__delslice__() method and did a basic 
> sanity test.
> 
>   dbobj.many2manyList.append(new_object)
> 
> and
> 
>   del dbobj.many2manyList[dbobj.many2manyList(new_object)]
> 
> should work now. Both lines will effect the data in memory as well as 
> create and execute proper SQL. Please don't hesitate to contact me if 
> there's anything wrong :-)
> 
> Diedrich