You have to include the csrf_token as header: var csrftoken = $("[name=csrfmiddlewaretoken]").val(); //example ajax $.ajax({ url: url, type: 'POST', ...
確定! 回上一頁