On Thu, 2008-02-07 at 13:06 -0800, [EMAIL PROTECTED] wrote:
> Thanks for pointing out isnull()!
> 
> I did try with None and 'None'...   For part_of=None, both .filter()
> and .exclude() return empty sets, which could signal to a newbie that
> somethings wrong with the approach.

At the moment, for historical reasons, __exact=None generates
non-standard SQL and will always return nothing at all. In the near
future, this will be changing so that __exact=None equates to "IS NULL"
at the SQL level.

Regards,
Malcolm

-- 
Many are called, few volunteer. 
http://www.pointy-stick.com/blog/


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to