0👍
I used
workbook = xlrd.open_workbook(filehandle.temporary_file_path())
in place of
workbook = xlrd.open_workbook(filehandle)
and added
FILE_UPLOAD_HANDLERS = (
'django.core.files.uploadhandler.TemporaryFileUploadHandler',
)
in settings.py and it worked
Source:stackexchange.com