def get_queryset_ancestors(self, queryset, include_self=False):
        return self._get_queryset_relatives(queryset, 'asc', include_self)
Returns a queryset containing the ancestors
dataset/ETHPy150Open django-mptt/django-mptt/mptt/managers.py/TreeManager.get_queryset_ancestors