I have a form that allows a dynamic number of files to be uploaded. On the Django side, if I print the request.FILES it is described as:
<MultiValueDict: {u'rqFiles': [<InMemoryUploadedFile: add.png (image/ png)>, <InMemoryUploadedFile: del.png (image/png)>, <InMemoryUploadedFile: up.png (image/png)>]}> But when I try to access the files like this: for f in files['rqFiles']: Then f is a string with some ascii characters including the file extension. Shouldn't it be an InMemoryUploadedFile? How should I be accessing files['rqFiles']? Thanks for any help. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---