def get_path(self):
        return self.kwargs.get(self.path_url_kwarg, self.path)
Return actual path of the file to serve.
dataset/ETHPy150Open benoitbryon/django-downloadview/django_downloadview/views/path.py/PathDownloadView.get_path