I'm doing an API, which gets images from phone application. Images contain EXIF data, and some of these images have an orientation tag (according to: PIL thumbnail is rotating my image?). Currently I solve problem with using imagemagick/morgify in commandline. But I'm wondering whether it is possible (or make sense) to do auto-orient with PIL/Pillow after receiving data in DRF view.
--edit--
It looks like, I have to use save and delete hooks from http://www.django-rest-framework.org/api-guide/generic-views/