[Answered ]-How to use a file chooser in Django?

2👍

An <input type="file"/> will provide the functionality you seek. However the full file path is typically unavailable. Modern browsers replace it with C:\fakepath\<file> as revealing information on the web, such as directories, about the clients machine is a security problem if the site was infected by XSS (Cross-Site Scripting).

Leave a comment