token');
      let taskId = ele.attr('task-id');
      let task = $('textarea[name="task-' + taskId + '"]').val();
      let deadline = $('input[name="task-deadline-' + taskId + '"]').val();
      $.ajaxSetup({
        beforeSend: function (xhr, settings) {
          if (!csrfSafeMethod(settings.type) && !this.crossDomain) {
            xhr.setRequestHeader('X-CSRFToken', csrftoken);
          }
        }
      });
      $.ajax({
        url: url,
        type: 'POST',
        dataType: 'json',
        data