use plupload plugin to upload file in django

django upload file needs

"Note that FILES will only contain data if the request method was POST and the <form> that posted to the request had enctype="multipart/form-data". Otherwise, FILES will be a blank dictionary-like object." 

so only need add "multipart : 'form-data'," option to plupload setup function

 

 

see more configuration at: 

 

 

http://www.plupload.com/documentation.php

 


 

posted @ 2010-07-29 23:37  酱油哥  阅读(218)  评论(0)    收藏  举报