From 0560332768d67b5b35e5ae227edfc0b1eedc6bc6 Mon Sep 17 00:00:00 2001 From: halcyon <864072399@qq.com> Date: Sat, 31 Jan 2015 13:46:55 +0800 Subject: [PATCH] change view --- jumpserver/views.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/jumpserver/views.py b/jumpserver/views.py index d2446aaf8..5b6eb198b 100644 --- a/jumpserver/views.py +++ b/jumpserver/views.py @@ -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