Re: filtering on reverse foreignkey using isnull

2009-06-01 Thread Eric Abrahamsen
On Jun 2, 2009, at 2:07 AM, Karen Tracey wrote: > On Sun, May 31, 2009 at 11:40 PM, Eric Abrahamsen > wrote: > > On May 31, 2009, at 11:45 PM, Karen Tracey wrote: > >> On Sun, May 31, 2009 at 10:13 AM, Eric Abrahamsen >> wrote: >> >> Hi, >> >> I've got

Re: filtering on reverse foreignkey using isnull

2009-06-01 Thread Karen Tracey
On Sun, May 31, 2009 at 11:40 PM, Eric Abrahamsen wrote: > > On May 31, 2009, at 11:45 PM, Karen Tracey wrote: > > On Sun, May 31, 2009 at 10:13 AM, Eric Abrahamsen wrote: > >> >> Hi, >> >> I've got two models, Author and Entry, with a foreignkey from Entry to

Re: filtering on reverse foreignkey using isnull

2009-05-31 Thread Eric Abrahamsen
On May 31, 2009, at 11:45 PM, Karen Tracey wrote: > On Sun, May 31, 2009 at 10:13 AM, Eric Abrahamsen > wrote: > > Hi, > > I've got two models, Author and Entry, with a foreignkey from Entry to > Author. There are many Authors with no related entries, and until > recently

Re: filtering on reverse foreignkey using isnull

2009-05-31 Thread Karen Tracey
On Sun, May 31, 2009 at 10:13 AM, Eric Abrahamsen wrote: > > Hi, > > I've got two models, Author and Entry, with a foreignkey from Entry to > Author. There are many Authors with no related entries, and until > recently I've been able to put this manager on the Author model to >

filtering on reverse foreignkey using isnull

2009-05-31 Thread Eric Abrahamsen
Hi, I've got two models, Author and Entry, with a foreignkey from Entry to Author. There are many Authors with no related entries, and until recently I've been able to put this manager on the Author model to only select Authors with Entries: def contributors(): return