how to reduce queries in django model has_relation method?,Person.objects.exclude(pets=None)