Uploading multiple files in Django through one form field

我怕爱的太早我们不能终老 提交于 2019-11-29 07:09:20

https://github.com/tstone/django-uploadify is a reusable Django app that integrates http://uploadify.com.

From Uploadify's website:

Uploadify is a jQuery plugin that integrates a fully-customizable multiple file upload utility on your website. It uses a mixture of Javascript, ActionScript, and any server-side language to dynamically create an instance over any DOM element on a page.

TaoJoannes

HTML 5 now allows for multiple file uploads in a single form control.

http://www.w3.org/TR/html-markup/input.file.html#input.file.attrs.multiple

No, you can't do that - HTML file inputs don't allow it.

As Daniel said, File Input fields cannot support more than one file. However, there are ways around this using Things like SWFUpload. How you might integrate that workflow into a Django application, I'm not too sure.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!