Re: explicit m2m model

2007-08-23 Thread Russell Keith-Magee
On 8/23/07, James Tauber <[EMAIL PROTECTED]> wrote: > > Looking at previous discussions, I think what I need is much simpler > than others. > > I just have > > class Friendship(models.Model): > to_user = models.ForeignKey(User, related_name="friends") > from_user = models.ForeignKey(User

Re: explicit m2m model

2007-08-22 Thread James Tauber
Looking at previous discussions, I think what I need is much simpler than others. I just have class Friendship(models.Model): to_user = models.ForeignKey(User, related_name="friends") from_user = models.ForeignKey(User, related_name="_unused_") and want to make sure that when Friend

Re: explicit m2m model

2007-08-22 Thread Russell Keith-Magee
On 8/23/07, James Tauber <[EMAIL PROTECTED]> wrote: > > So bottom line is I *can* do it, but I have to do the work myself? Pretty much. But, if you do the work yourself, it's an idea that has been informally blessed, so a good implementation of this feature could find itself in the trunk without

Re: explicit m2m model

2007-08-22 Thread James Tauber
So bottom line is I *can* do it, but I have to do the work myself? I'll re-look through the archives. Thanks! James On 23/08/2007, at 2:03 AM, Russell Keith-Magee wrote: > > On 8/23/07, James Tauber <[EMAIL PROTECTED]> wrote: >> >> Say I want to express a symmetric m2m in a separate model. In

Re: explicit m2m model

2007-08-22 Thread Russell Keith-Magee
On 8/23/07, James Tauber <[EMAIL PROTECTED]> wrote: > > Say I want to express a symmetric m2m in a separate model. In other > words, instead of ... > Is there a nice way to do that, short of just copying a bunch of the > code from ManyRelatedManager? Hi James, At present, there isn't a built-in