

def get_queryset(self):
    qs = super(InverseRelationshipManager, self).get_queryset()
    return qs.filter(type__inverse_name__isnull=False)

dataset/ETHPy150Open wq/wq.db/patterns/relate/models.py InverseRelationshipManager.get_queryset/original