Add basic docs for CSV download support in master view
This commit is contained in:
parent
d03de66b64
commit
6c0f243655
2 changed files with 11 additions and 1 deletions
|
@ -2076,7 +2076,8 @@ class MasterView(View):
|
|||
|
||||
def get_csv_fields(self):
|
||||
"""
|
||||
Return the list of fields to be written to CSV download.
|
||||
Return the list of fields to be written to CSV download. Default field
|
||||
list will be constructed from the underlying table columns.
|
||||
"""
|
||||
fields = []
|
||||
mapper = orm.class_mapper(self.model_class)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue