Merge branch 'wangyong'

pull/6/head
ibuler 2015-05-15 12:01:51 +08:00
commit 58fd4374c7
4 changed files with 5 additions and 1 deletions

BIN
.DS_Store vendored Normal file

Binary file not shown.

View File

@ -4,6 +4,8 @@ import ast
from django.db.models import Q from django.db.models import Q
from django.template import RequestContext from django.template import RequestContext
from django.shortcuts import get_object_or_404
from jperm.models import Perm from jperm.models import Perm
from jumpserver.api import * from jumpserver.api import *
@ -26,6 +28,8 @@ def get_host_groups(groups):
if group: if group:
group = group[0] group = group[0]
ret.append(group) ret.append(group)
group_all = get_object_or_404(BisGroup, name='ALL')
ret.append(group_all)
return ret return ret

View File

@ -23,7 +23,7 @@ root_pw = secret234
[websocket] [websocket]
web_socket_host = 192.168.20.209:3000 web_socket_host = 192.168.8.66:3000
[mail] [mail]

BIN
static/.DS_Store vendored Normal file

Binary file not shown.