Add download_path()
method for ExportMasterView
default behavior isn't very smart, subclass should override as needed
This commit is contained in:
parent
993ce9289d
commit
94d7e01bd5
|
@ -74,6 +74,10 @@ class ExportMasterView(MasterView):
|
||||||
export.filename,
|
export.filename,
|
||||||
makedirs=makedirs)
|
makedirs=makedirs)
|
||||||
|
|
||||||
|
def download_path(self, export, filename):
|
||||||
|
# TODO: this assumes 'filename' default!
|
||||||
|
return self.get_file_path(export)
|
||||||
|
|
||||||
def configure_grid(self, g):
|
def configure_grid(self, g):
|
||||||
super(ExportMasterView, self).configure_grid(g)
|
super(ExportMasterView, self).configure_grid(g)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue