mardi 7 février 2017

What is the best way for implementing API using Django? Also the issue of cleaning temporary files

As title, I would like to know what is the best way to implement an API through Django. In my application, users will input some string or a file with some details configuration through a HTML form. In backhand, I would temporarily save some input information and intermediate files, and response the result. However, I don't know if I need to handle the file names. That is, whether I need to encode these input files into different file names or Django will automatically handle this. At the same time, I want to know how to handle removing these temporary files. Thank you !




Aucun commentaire:

Enregistrer un commentaire