def download(self):
        from .tasks import download_file
        if not settings.LOCALSHOP_ISOLATED:
            download_file.delay(pk=self.pk)
        else:
            download_file(pk=self.pk)
Start a celery task to download the release file from pypi.
dataset/ETHPy150Open mvantellingen/localshop/localshop/apps/packages/models.py/ReleaseFile.download