Add download_path() method for ExportMasterView

default behavior isn't very smart, subclass should override as needed
This commit is contained in:
Lance Edgar 2019-07-05 18:00:58 -05:00
parent 993ce9289d
commit 94d7e01bd5

View file

@ -74,6 +74,10 @@ class ExportMasterView(MasterView):
export.filename,
makedirs=makedirs)
def download_path(self, export, filename):
# TODO: this assumes 'filename' default!
return self.get_file_path(export)
def configure_grid(self, g):
super(ExportMasterView, self).configure_grid(g)