是否有任何自定义小部件(或特殊的魔术方式)可以通过一个表单字段上传多个文件(或整个文件夹!)? 我试过this multifile widget但它使用许多简单的 FileFiled。
最佳答案
HTML 5 现在允许在单个表单控件中上传多个文件。
http://www.w3.org/TR/html-markup/input.file.html#input.file.attrs.multiple
关于python - 通过一个表单字段在 Django 中上传多个文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1706880/