codeforIATI / iati-datastore

An open-source datastore for IATI data with RESTful web API providing XML, JSON, CSV plus ETL tools
https://datastore.codeforiati.org
Other
1 stars 1 forks source link

Add XLSX downloads #329

Closed odscjames closed 2 years ago

odscjames commented 2 years ago
odscjames commented 2 years ago

There is one TODO - it creates a temporary file and doesn't delete it afterwards - because of how we use send_file that seems to be a pain - all I've found online is hacks I had a look at the source code and thought I could be clever by using TempraryFile rather than mkstemp but that didn't work so I thought I would just leave it for now and see if the rest worked first

And I haven't written any tests