阅读背景:

当具有该名称的文件已经存在时,如何防止Django更改文件名?

来源:互联网 

In my case I allow user to upload an avatar picture and use user_id as filename, simply. So there will be 1.jpg, 2.jpg, etc.In my case I allow user to upload an avatar pic




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: