Is there any custom widget (or a special magic way) to upload multiple files (or a whole folder!) through one form field? I have tried this multifile widget but it uses many simple FileFileds.
+2
A:
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.
Keryn Knight
2009-11-10 11:12:24
SWFupload is perfect for multiple file uploads in django and easy to implement (its a classic upload). The only gotcha is if you need authentication; You have to be careful to use the swfupload.cookies plugin if you need authentication. also, add this decorator to your view to allow cookie login : http://github.com/revolunet/django-skeleton/blob/master/core/decorators.py#L19
jujule
2010-02-24 18:45:23