Re: combining querysets with isnull

2011-04-13 Thread Dan Watson
On Thursday, October 14, 2010 7:03:35 PM UTC-4, Johannes Dollinger wrote: > > > Am 14.10.2010 um 23:07 schrieb Dan Watson: > > > There seems to be some inconsistent behavior when combining querysets > > that use isnull on a ForeignKey. I'm not sure how to explain it well

Re: combining querysets with isnull

2010-10-14 Thread Johannes Dollinger
Am 14.10.2010 um 23:07 schrieb Dan Watson: > There seems to be some inconsistent behavior when combining querysets > that use isnull on a ForeignKey. I'm not sure how to explain it well > in plain english, so here's a boiled-down example: > > # Models > > class Item (mode

combining querysets with isnull

2010-10-14 Thread Dan Watson
There seems to be some inconsistent behavior when combining querysets that use isnull on a ForeignKey. I'm not sure how to explain it well in plain english, so here's a boiled-down example: # Models class Item (models.Model): title = models.CharField( max_length=100 ) class PropertyValue