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
Post a Comment