pull/6/head
halcyon 10 years ago
parent 6759146426
commit 5668794171

@ -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:

Loading…
Cancel
Save