title: How do you convert a PIL `Image` to a Django `File`?
body: <p>I'm trying to convert an <code>UploadedFile</code> to a PIL <code>Image</code> object to thumbnail it, and then convert the PIL <code>Image</code> object that my thumbnail function returns back into a <code>File</code> object. How can I do this?</p>