4
im = storage.open('old_path_filename', 'r')
strorage.save('new_path_with_old_filename', im)
在我的django proect中,我爲我的靜態和媒體文件使用了django-storage和amazon S3。我nead保存舊文件與新的路徑在亞馬遜和舊的文件名。你可以幫幫我嗎?如何使用django-storages和amazon S3將文件從一個路徑複製到其他路徑?
你有沒有得到這個問題想通了? – wilbbe01