@csrf_exempt
def saveImage(request):
    up_file = request.FILES['image']
destination = open('/tmp/' + up_file.name, 'wb+')
for chunk in up_file.chunks():
    destination.write(chunk)
destination.close()
img = someImage()
img.image.save(up_file.name, File(open('/tmp/' + up_file.name, 'r')))
img.save()
How to save an image using django imageField?