On 23 Dic 2010, 23:12, Paul Osman <p...@eval.ca> wrote: > On Thu, Dec 23, 2010 at 9:39 AM, Mauro <mdrio1...@gmail.com> wrote: > > Hello, > > is it possible to upload files via ajax? > > > I would like to upload multiple files in my application but i have the > > following exception: > > > MultiPartParserError: Invalid boundary in multipart: None > > > I'm using django 1.1. > > The ajax request has the content type header set as mulitpart/form- > > data > > This was recently posted to the Mozilla Webdev blog. Might help you: > > http://blog.mozilla.com/webdev/2010/09/17/django-and-ajax-image-uploads/ > > -Paul
Hi, thanks for replying, but would like to choose the files at once and then upload them one by one (without flash, only html). Using an ajax request, django returns the MultiParseError. Moreover i try to user request._post_raw_data, but i would like to send also some other informations together with the files, and i do not to retrieve them from raw_data, Any other idea? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@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.