django-chunked-upload-demo
django-chunked-upload-demo copied to clipboard
The demo is not working
Hi, I have tried the demo to understand how to use in my project. But its returning 500 error when I select some file jpg, mp4 or pdf.
+1 - demo is not working.
Works for me
not work and only for python2
IOError at /api/chunked_upload
File not open for writing
Request Method: POST
Request URL: http://127.0.0.1:8000/api/chunked_upload
It's a bug in django. https://code.djangoproject.com/ticket/13809 I don't have any experience in using django, so I don't know which version fix it and which version mark file.read and file.write deprecated.
If it helps, I got it working nicely in django, here is the Upload class:
https://github.com/vsoch/docfish/blob/master/docfish/apps/storage/views.py#L40
and the views:
https://github.com/vsoch/docfish/tree/master/docfish/apps/storage/templates/upload
Hi, I have tried the demo to understand how to use in my project. But its returning 500 error when I select some file jpg, mp4 or pdf.
I experienced the same. It returned 500 (INTERNAL SERVER ERROR).