Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
310 views
in Technique[技术] by (71.8m points)

python - Uploading multiple files in Django through one form field

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.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...