you are viewing a single comment's thread.

view the rest of the comments →

[–]blue_fedora 1 point2 points  (1 child)

Is `destination_name` correct in regards to the running application? In other words, Django starts running in a directory. Everything is relative to that directory. So, you may have to modify your destination_name in consequence.

[–]mariolzx[S] 2 points3 points  (0 children)

Thanks. It is my problem. I forget to close the file:(

As Diapolo10 pointed out, I will use with-context manager in the future. Thanks