From 6ca69802f583107320087011609c80f34ed6f90e Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Mon, 19 Feb 2018 19:59:01 -0600 Subject: [PATCH] Add download path for batch master views --- tailbone/views/batch/core.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tailbone/views/batch/core.py b/tailbone/views/batch/core.py index 617f38ed..1db69a4f 100644 --- a/tailbone/views/batch/core.py +++ b/tailbone/views/batch/core.py @@ -278,6 +278,9 @@ class BatchMasterView(MasterView): return status_code_text return render_status + def download_path(self, batch, filename): + return self.rattail_config.batch_filepath(batch.batch_key, batch.uuid, filename) + def render_user(self, batch, field): user = getattr(batch, field) if not user: