Python Django- How Do I Get File Path From An Input File Tag In A Form?
I just need the file path. This is what I came with so far: index.html:
Solution 1:
The file path from the client can't possibly be of any use to you. Your server application has no access to arbitrary paths on the client, for obvious security reasons.
File inputs provide the file itself for upload; that's all you can access, and all you should need.
Post a Comment for "Python Django- How Do I Get File Path From An Input File Tag In A Form?"