policybot/bassets/dropzone/dropzone-call.js
2021-11-30 16:26:55 +05:30

11 lines
299 B
JavaScript

Dropzone.autoDiscover = false;
$(document).ready(function () {
$("#id_dropzone").dropzone({
maxFiles: 2000,
url: "/ajax_file_upload_handler/",
success: function (file, response) {
console.log(response);
}
});
})