summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Hostbase/hostbase/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/Server/Hostbase/hostbase/views.py')
-rw-r--r--src/lib/Server/Hostbase/hostbase/views.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/Server/Hostbase/hostbase/views.py b/src/lib/Server/Hostbase/hostbase/views.py
index b88083c94..748a84471 100644
--- a/src/lib/Server/Hostbase/hostbase/views.py
+++ b/src/lib/Server/Hostbase/hostbase/views.py
@@ -7,6 +7,7 @@ __revision__ = "$Revision: $"
from django.http import HttpResponse, HttpResponseRedirect
from django.contrib.auth.decorators import login_required
+from django.contrib.auth import logout
from Hostbase.hostbase.models import *
from datetime import date
@@ -53,6 +54,11 @@ dispatch = {'mac_addr':'i.mac_addr LIKE \'%%%%%s%%%%\'',
## t.failures = False
## return HttpResponse(str(t))
+def index(request):
+ """rediredct to /hostbase/"""
+ return render_to_response('index.html',
+ {})
+
def search(request):
"""Search for hosts in the database
If more than one field is entered, logical AND is used