We would like to include endpoints to allow administrators to upload data to the database from a csv or xlsx file. The names for the endpoints could follow the pattern /projects/upload/csv and
/projects/upload/xlsx for the projects resource, for example. The fields in the csv/xlsx file should be the same as those defined in the model for the corresponding resource.
See the flask excel docs for a potential out-of-the-box method for accomplishing this.
We would like to include endpoints to allow administrators to upload data to the database from a csv or xlsx file. The names for the endpoints could follow the pattern
/projects/upload/csv
and/projects/upload/xlsx
for the projects resource, for example. The fields in the csv/xlsx file should be the same as those defined in the model for the corresponding resource.See the flask excel docs for a potential out-of-the-box method for accomplishing this.