def all_repositores(self, user):

        return super(RepositoryManager, self).get_queryset().filter(Q(owner_id=user.id))
Returns all repositories a user owns.
dataset/ETHPy150Open Djacket/djacket/core/backend/repository/models.py/RepositoryManager.all_repositores