I am building an application that allows users to upload images. I am using django-storage with S3 boto to store the images in S3. I am very new to Django and have a few questions.
- Are the temporary files created during upload deleted automatically or should I delete them? If yes, then how?
- If the files are created in memory are they automatically deleted from memory?
- When I create a Django Imagefile does it create a temporary file?
- Should I explicitly close the file after opening it? I tried doing so but got an error close message. How do I do it?
Simple examples would be appreciated.