Re: no objects found

2009-01-14 Thread Brian
On Jan 15, 1:57 pm, Malcolm Tredinnick wrote: > Please open a ticket for this and assign it to me (mtredinnick in Trac), Ok, done. Thanks. Brian May --~--~-~--~~~---~--~~ You received this message because you are subs

Re: no objects found

2009-01-14 Thread Malcolm Tredinnick
On Wed, 2009-01-14 at 16:54 -0800, Brian wrote: > Django 1.0.2-1 > > If I do: > > >>> object=models.software.objects.get(id=267) > >>> print models.software_installation.objects.filter(software=object) > [] > >>> print models.software_installation.objects.filter(software=object).count() > 10 >

no objects found

2009-01-14 Thread Brian
Django 1.0.2-1 If I do: >>> object=models.software.objects.get(id=267) >>> print models.software_installation.objects.filter(software=object) [] >>> print models.software_installation.objects.filter(software=object).count() 10 Huh? First statement says there are no results, next one says there