jquery向Django后台发送数组时间:2023-03-09 19:42:49 在$.ajax中加入 traditional:true, //加上此项可以传数组 后端用 array = request.POST.getlist('ids') #django接收数组 来接收数组