阅读背景:

Django:在内存中打开上传的文件;在格式清洁的方法?

来源:互联网 

I need to validate the contents of an uploaded XML file in my Form clean method, but I'm unable to open the file for validation. It seams, in the clean method, the file hasn't yet been moved from memory (or the temporary directory) to the destination directory.I need to validate the contents of an uploaded




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

分享到: