We could load the load into memory, like you're doing with BytesIO , but there's no advantage over that being run externally by you. I don't know what a more meaningful exception could be. Skip to content. CommonMiddleware' , 'django. Or we just hope that if somebody has the same issue he will stumble upon this himself, but i'd still prefer an more meaningful error message if it's not too complicated.
nest...