Fixed!

Just changed commas to '&' - the queries work the same, and eval
doesn't try to turn the string into a tuple.

Staring at the docs for a while works wonders...

I changed this:
---------
Q(res__isnull='on'), Q(desc__icontains='bla') |
Q(title__icontains='bla')
--------

To this:
---------
Q(res__isnull='on') & Q(desc__icontains='bla') |
Q(title__icontains='bla')
--------


--~--~---------~--~----~------------~-------~--~----~
 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