i m having trouble in uploading multiple files with same input name:
<input type=file name="file">
<input type=file name="file">
<input type=file name="file">
at django side
print request.FILES :
<MultiValueDict: {u'file': [
<TemporaryUploadedFile: captcha_bg.jpg (image/jpeg)>,
<TemporaryUploadedFile: 001_using_git_with_django.mov (video/quicktime)>,
<TemporaryUploadedFile: ejabberd-ust.odt (application/vnd.oasis.opendocument.text)>
]}>
so all three files are under single request.FILES['file'] object . how do i handle for each files uploaded from here?
<input type="file" name="file" multiple />
– Mark