mirror of https://github.com/jumpserver/jumpserver
change view
parent
795183c7ab
commit
0560332768
|
@ -23,7 +23,6 @@ def skin_config(request):
|
|||
return render_to_response('skin_config.html')
|
||||
|
||||
|
||||
<<<<<<< HEAD
|
||||
def jasset_group_add(name, comment, type):
|
||||
if BisGroup.objects.filter(name=name):
|
||||
emg = u'该业务组已存在!'
|
||||
|
@ -64,7 +63,7 @@ def jasset_host_edit(j_ip, j_idc, j_port, j_type, j_group, j_active, j_comment):
|
|||
a.save()
|
||||
a.bis_group = groups
|
||||
a.save()
|
||||
=======
|
||||
|
||||
def login(request):
|
||||
"""登录界面"""
|
||||
if request.session.get('username'):
|
||||
|
@ -96,6 +95,3 @@ def login(request):
|
|||
def logout(request):
|
||||
request.session.delete()
|
||||
return HttpResponseRedirect('/login/')
|
||||
|
||||
|
||||
>>>>>>> guanghongwei
|
||||
|
|
Loading…
Reference in New Issue