[Fixed]-Error when calling Django Rest Framework ModelSerializer update when uploading a file

1👍

Apparently, this is a bug in DRF and will be fixed in DRF 3.2.0 release. Check this Github ticket.
https://github.com/tomchristie/django-rest-framework/pull/2759

This is happening because the file object sent in the request being unsaved does not have the .url attribute associated with it.

Leave a comment