[Answered ]-The CSV script in Django does not see the path of the file – [Errno 2] No such file or directory

1👍

You are accessing the url of the file, this is correct if you use it on the client side and in general if you reach the resource from internet.

But, in this case you are accessing the file from the server side an you should use obj.file.path instead of obj.file.url

Source: Django FieldFile Documentation

Leave a comment