'This should exclude Orders which have some items with status 1'

def test_exclude_with_q_object_distinct(self):

    self.assertQuerysetEqual(Order.objects.exclude(Q(items__status=1)).distinct(), [u'<Order:    3>'])
