django q lookups with mixed and or condition code example Example: objects.filter django >>> Entry.objects.filter(blog_id=4)