def dispatch(self, request, *args, **kwargs):
        if not self.project or not self.project.deployment.public:
            raise Http404()
        return super(DeploymentInfoView, self).dispatch(request, *args, **kwargs)
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/appstore/views.py/DeploymentInfoView.dispatch/original