python - file_downloads..want to download an uploaded file -


hi project upload excel file , display content in template. have uploaded excel file in django using models.filefield .now want download particular file @ defined location(project).i trying click on uploaded file giving me error

page not found (404) request method: request url: http://localhost:8001/admin/ikapp1/fileupload/2/file/erode/erode_3.xls/

file upload object primary key u'2/file/erode/erode_3.xls' not exist.

shot in dark, omit last slash in url? indicates want directory.


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

sql server - python to mssql encoding problem -

windows - Python Service Installation - "Could not find PythonClass entry" -