サクサク読めて、アプリ限定の機能も多数!
This snippet demonstrates how you can send a file (or file-like object) through Django without having to load the whole thing into memory. The FileWrapper will turn the file-like object into an iterator for chunks of 8KB.
IanLewis のブックマーク 2009/04/17 14:37
djangosnippets: Send large files through Django, and how to generate Zip files[python][django][file][snippet][zip][download]This snippet demonstrates how you can send a file (or file-like object) through Django without having to load the whole thing into memory. The FileWrapper will turn the file-like object into an iterator for chunks of 8KB.2009/04/17 14:37
このブックマークにはスターがありません。 最初のスターをつけてみよう!
www.djangosnippets.org2007/08/13
1 人がブックマーク・1 件のコメント
\ コメントが サクサク読める アプリです /
This snippet demonstrates how you can send a file (or file-like object) through Django without having to load the whole thing into memory. The FileWrapper will turn the file-like object into an iterator for chunks of 8KB.
IanLewis のブックマーク 2009/04/17 14:37
このブックマークにはスターがありません。
最初のスターをつけてみよう!
djangosnippets: Send large files through Django, and how to generate Zip files
www.djangosnippets.org2007/08/13
1 人がブックマーク・1 件のコメント
\ コメントが サクサク読める アプリです /