修复删除403异常
This commit is contained in:
parent
db4b346455
commit
bc981beb0f
|
@ -326,7 +326,8 @@
|
||||||
type: 'POST',
|
type: 'POST',
|
||||||
url: deleteUrl,
|
url: deleteUrl,
|
||||||
data: {
|
data: {
|
||||||
'id': targetIdToDelete
|
'id': targetIdToDelete,
|
||||||
|
'csrfmiddlewaretoken': csrftoken
|
||||||
},
|
},
|
||||||
success: function (response) {
|
success: function (response) {
|
||||||
showAlert('success', "删除成功");
|
showAlert('success', "删除成功");
|
||||||
|
|
Loading…
Reference in New Issue