python - access a file with a specific link in django -
in django, have file foo.txt in static folder, can accessed through www.example.com/static/foo.txt. how possible access file simple doing www.example.com/foo.txt? (without redirections)
thanks in advance!
i think selcuk right, save file on server directories, or static files, simple point url there
<a href="/static/files/foo.txt">foo text file</a>
watch file permissions though
Comments
Post a Comment