| Django-ZipFile Djangoテンプレートを受け入れるZipFileサブクラス |
今すぐダウンロード |
Django-ZipFile ランキングとまとめ
- ライセンス:
- MIT/X Consortium Lic...
- 出版社のWebサイト:
- https://github.com/fcurella/
Django-ZipFile タグ
Django-ZipFile 説明
Django-ZipFileは、Django Templates.Usageで動作するzipfile.zipFileのサブクラスです。zipfileのインポートからDjango_ZipFileのインポートTemplateZipFileDef MyView(要求、object_id):obj = get_object_or_404(myModel、pk = object_id)context = {'object':obj response = httpresponse(mimetype = 'application / octet-stream')応答 = '添付; filename = myfile.zip 'container = templatezipFile(応答、mode =' w '、compression = zip_defflated、template_root =' myapp / myzipskeleton / ')container.add_template(' mimetype ')container.add_template(' meta-inf / container。 XML ')container.add_template(' chapter1.html '、context = context)container.close()Return Response Productのホームページ
Django-ZipFile 関連ソフトウェア