I am uploading the pdf file in django form.
But i need to perform the validation on the pdf file by reading the contents of file and then checking and if its not valid then give some error message.
But i am not able to find how can i get the pdf file location so that i can read the file and do some test.
I don't want to first save in temp location and then do validation and then delete the file
all i need is the path of the file so that i can run some system command on the file