On Mon, 2008-03-03 at 10:17 -0800, omat wrote:
> Hi,
> 
> Suppose 'categories' is the name of a ManyToMany field in our model
> (with blank=True).
> 
> Q(name = 'test') | Q(categories__title = 'xyz')
> 
> fails to match the instance with name = 'test' if the instance is not
> related to any category.
> 
> This seems like a bug. Any ideas?

It's bug #2080, which is more or less a dupe of #1801 which has been
fixed in a branch and so will be merged into trunk at some point in the
future.

Malcolm

-- 
If Barbie is so popular, why do you have to buy her friends? 
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