Re: About reverse queries in FK relationships

2006-07-07 Thread Kilian CAVALOTTI
On Friday 07 July 2006 14:17, Malcolm Tredinnick wrote: > Let's try this again... take two... (it's still an interesting > question).. I'm glad it took you some time to answer, I always feel reassuring to see that more skilled people scratch their head on my problems too. I feel less dumb. :))

Re: About reverse queries in FK relationships

2006-07-07 Thread Malcolm Tredinnick
On Fri, 2006-07-07 at 12:16 +0200, Kilian CAVALOTTI wrote: > Hi all, > > I have a question about reverse queries in ForeignKey relationships. Taking > the example given in > , I know that > I can filter the Reporter objects to get

Re: About reverse queries in FK relationships

2006-07-07 Thread Malcolm Tredinnick
On Fri, 2006-07-07 at 21:23 +1000, Malcolm Tredinnick wrote: [...] > Reporter.objects.filter(article = None) > > will give you the list you want. I'll add something to the documentation > to make this more explicit once I work out how to phrase it. Ignore this; it is rubbish! Not

Re: About reverse queries in FK relationships

2006-07-07 Thread Malcolm Tredinnick
On Fri, 2006-07-07 at 12:16 +0200, Kilian CAVALOTTI wrote: > Hi all, > > I have a question about reverse queries in ForeignKey relationships. Taking > the example given in > , I know that > I can filter the Reporter objects to get

About reverse queries in FK relationships

2006-07-07 Thread Kilian CAVALOTTI
Hi all, I have a question about reverse queries in ForeignKey relationships. Taking the example given in , I know that I can filter the Reporter objects to get those who have associated Articles, based on Article properties: