From 7b0cea02bb0ae9d601acc85bcd72cdd4c2b5d4a0 Mon Sep 17 00:00:00 2001 From: guanghongwei Date: Sat, 24 Jan 2015 13:42:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- juser/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/juser/views.py b/juser/views.py index 0fb10c8df..860b91c42 100644 --- a/juser/views.py +++ b/juser/views.py @@ -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)