开发者

What is code 247 returned by Django 1.2.4 development server?

And for that matter, is the set of error codes documented? I get code 247 uploading a large file开发者_开发问答 so I think it's a memory issue but can't find any documentation.


You might want to set FILE_UPLOAD_MAX_MEMORY_SIZE, which will force files larger than that size to be streamed to disk, rather than allowed to continuously consume RAM. I typically set this to 102400, which is 100k.

Hope that helps!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜