用户修改告一段落

pull/6/head
guanghongwei 2015-01-28 18:00:09 +08:00
parent 6a8db89614
commit b62bc9d161
1 changed files with 2 additions and 0 deletions

View File

@ -372,6 +372,8 @@ def user_del(request):
user.delete() user.delete()
group = UserGroup.objects.get(name=user.username) group = UserGroup.objects.get(name=user.username)
group.delete() group.delete()
server_del_user(user.username)
ldap_del_user(user.username)
return HttpResponseRedirect('/juser/user_list/', locals()) return HttpResponseRedirect('/juser/user_list/', locals())