From 1a32fb5da180bf02bb49be1fd7fa658c692a5359 Mon Sep 17 00:00:00 2001 From: ibuler Date: Mon, 14 Dec 2015 17:13:07 +0800 Subject: [PATCH] fix del role url bug --- templates/jperm/perm_role_list.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/jperm/perm_role_list.html b/templates/jperm/perm_role_list.html index 2f7913ada..77aacaa54 100644 --- a/templates/jperm/perm_role_list.html +++ b/templates/jperm/perm_role_list.html @@ -87,7 +87,7 @@ function remove_role(role_id){ if (confirm("确认删除")) { $.ajax({ type: "POST", - url: "/jperm/role/perm_role_delete/", + url: "{% url 'role_del' %}", data: "id=" + role_id, success: function(msg){ alert( "成功: " + msg );