sibtc / multiple-file-upload

Django Multiple Files Upload Using Ajax
https://simpleisbetterthancomplex.com/tutorial/2016/11/22/django-multiple-file-upload-using-ajax.html
MIT License
113 stars 81 forks source link

Upload button is not working #6

Open bixicy opened 5 years ago

bixicy commented 5 years ago

Hi,

I tried to use this photo app. Bur this is not working for me.

When I use the basic_upload and click on the "Upload photo" Button, no function. Only the botton became a blue border, but no popup for upload photos.

I checked the static files, and the js files loaded

js/jquery-file-upload/vendor/jquery.ui.widget.js /home/bix/PycharmProjects/photo_test/apps/static/js/jquery-file-upload/vendor/jquery.ui.widget.js

js/jquery-file-upload/jquery.iframe-transport.js /home/bix/PycharmProjects/photo_test/apps/static/js/jquery-file-upload/jquery.iframe-transport.js

js/jquery-file-upload/jquery.fileupload.js /home/bix/PycharmProjects/photo_test/apps/static/js/jquery-file-upload/jquery.fileupload.js

js/basic-upload.js /home/bix/PycharmProjects/photo_test/apps/static/js/basic-upload.js

Im using Django 2.2 and changed only the urls.py. Any idea, why this is not working?

abu-yusuf-dev commented 5 years ago

@bixicy Here I have created the updated version for django multiupload: https://github.com/Revel109/django-multiupload-lts

You can try this for any django(>=2) versions