Adding ManyToMany relationships

2005-12-07 Thread quentinsf
Sorry - I'm probably doing something silly here... I have a 'Meeting' object which has a list of required attendees and a list of optional attendees. The admin interface works fine, but I'm stuck when it comes to manipulating these relationships in my own code. The attendees are Users. So I h

Re: Adding ManyToMany relationships

2005-12-07 Thread quentinsf
Oh, and I'm using the latest svn trunk.

Re: Adding ManyToMany relationships

2005-12-07 Thread quentinsf
OK, I've found the code, and it looks as if set_FOOs() does intelligent things about only updating the *changes* to the list of object IDs. I'll use that for now. Add and Delete methods would be nice though, as would something that takes objects instead of IDs. Seems more Djangoesque. (Is that

Re: Adding ManyToMany relationships

2005-12-08 Thread Jason F. McBrayer
On Wed, 2005-12-07 at 05:35 -0800, quentinsf wrote: > OK, I've found the code, and it looks as if set_FOOs() does intelligent > things about only updating the *changes* to the list of object IDs. > I'll use that for now. > > Add and Delete methods would be nice though, as would something that > t