I am trying to open media file in django. when i run the project on local system. It runs if file does not exists then image error icon come. But when i deploy that on the server if file does not exists it is giving the error. Path of the file is save in database and file is not present in the folder.
No such file or directory: u'/home/ec2-user/dev/indianangelnetwork.web.backend/indianangelnetwork/media/job_portfolio_logo/2015-01-29 06:58:59_WebEngage-logo-with-WK.jpg
Please help some body. Thanks