I am working with a file uploaded using Django's forms.FileField
. This returns an object of type InMemoryUploadedFile
.
I need to access this file in universal-newline mode. Any ideas on how to do this without saving and then reopening the file?
Thanks