Django-Tasypie image upload example with JQuery
问题 I'm looking for a way to implement client side file (image) upload from jquery to Django-Tastypie. So far server side seems correct testing with CURL: I found this post helpfull Django-tastypie: Any example on file upload in POST? EDIT : This is what i did with curl -> in api.py : class MultipartResource(object): def deserialize(self, request, data, format=None): if not format: format = request.META.get('CONTENT_TYPE', 'application/json') if format == 'application/x-www-form-urlencoded':