Locating file path from a <InMemoryUploadedFile> Djnago object
- by PirosB3
Hi all
I have a Django app which, submitting a package, should return values that are inside it..
Submitted the form to a view called "insert":
request.FILES['file']
returns the file objects, but it is of kind < InMemoryUploadedFile.
What i need is a way to get the absolute path of the uploaded file, so that i can feed it to a method that will return the values needed
Anyone know how i can accomplish this?
Thanks