From 566879417184bc356ea3c7e2819a078639ee7567 Mon Sep 17 00:00:00 2001 From: halcyon <864072399@qq.com> Date: Tue, 17 Mar 2015 15:31:23 +0800 Subject: [PATCH] bugs --- jasset/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jasset/views.py b/jasset/views.py index 4a9891594..7ccf596b1 100644 --- a/jasset/views.py +++ b/jasset/views.py @@ -344,7 +344,7 @@ def add_group(request): emg = u'该主机组已存在!' return render_to_response('jasset/group_add.html', locals(), context_instance=RequestContext(request)) else: - BisGroup.objects.create(name=j_group, comment=j_comment, type='A') + BisGroup.objects.create(name=j_group, comment=j_comment) group = BisGroup.objects.get(name=j_group) group.dept = j_dept for host in j_hosts: