Re: Many to Many entries being duplicated, any ideas?

2008-12-09 Thread Darthmahon
I'll give it a go :) Thanks for your help Ben. On Dec 9, 9:50 am, Ben Eliott <[EMAIL PROTECTED]> wrote: > hmm, don't know. that's the documented approach. you might want to   > investigate intermediary tables/models etc. > > On 9 Dec 2008, at 09:24, Darthmahon wrote: > > > > > Ahh yes possibly.

Re: Many to Many entries being duplicated, any ideas?

2008-12-09 Thread Ben Eliott
hmm, don't know. that's the documented approach. you might want to investigate intermediary tables/models etc. On 9 Dec 2008, at 09:24, Darthmahon wrote: > > Ahh yes possibly. Any downsides to using this? > > On Dec 9, 9:19 am, Ben Eliott <[EMAIL PROTECTED]> wrote: >> Do you want something

Re: Many to Many entries being duplicated, any ideas?

2008-12-09 Thread Darthmahon
Ahh yes possibly. Any downsides to using this? On Dec 9, 9:19 am, Ben Eliott <[EMAIL PROTECTED]> wrote: > Do you want something like this? > friends_new = models.ManyToManyField("self",symmetrical=False) > > On 9 Dec 2008, at 09:06, Darthmahon wrote: > > > > > Hi Guys, > > > Just bumping this up

Re: Many to Many entries being duplicated, any ideas?

2008-12-09 Thread Ben Eliott
Do you want something like this? friends_new = models.ManyToManyField("self",symmetrical=False) On 9 Dec 2008, at 09:06, Darthmahon wrote: > > Hi Guys, > > Just bumping this up as I still can't figure out why this is > happening :/ > > On Dec 8, 9:27 pm, Darthmahon <[EMAIL PROTECTED]> wrote: >>

Re: Many to Many entries being duplicated, any ideas?

2008-12-09 Thread Darthmahon
Hi Guys, Just bumping this up as I still can't figure out why this is happening :/ On Dec 8, 9:27 pm, Darthmahon <[EMAIL PROTECTED]> wrote: > Hi Guys, > > I've got a model that has a Many to Many relationship on one of the > fields. This relationship is basically on itself though like this: > >

Many to Many entries being duplicated, any ideas?

2008-12-08 Thread Darthmahon
Hi Guys, I've got a model that has a Many to Many relationship on one of the fields. This relationship is basically on itself though like this: # class UserProfile(models.Model): user= models.ForeignKey(User, unique=True) friends_new