修改bug

pull/6/head
guanghongwei 2015-01-24 13:42:56 +08:00
parent d2669c2de0
commit 7b0cea02bb
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@ def group_edit(request):
return render_to_response('juser/group_add.html', locals())
else:
group_id = request.POST.get('id', None)
group_id = request.POST.get('group_id', None)
group_name = request.POST.get('group_name', None)
comment = request.POST.get('comment', '')
group = UserGroup.objects.filter(id=group_id)