summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Hostbase
diff options
context:
space:
mode:
authorKen Raffenetti <raffenet@mcs.anl.gov>2006-10-27 19:32:18 +0000
committerKen Raffenetti <raffenet@mcs.anl.gov>2006-10-27 19:32:18 +0000
commitd34bedd4856ecd4a19013c224e7a05b703ace704 (patch)
tree9cac08a8f21d2120ca37bbeac13ddc3649e8435b /src/lib/Server/Hostbase
parentd954c50097843363136efeec602833894db8321e (diff)
downloadbcfg2-d34bedd4856ecd4a19013c224e7a05b703ace704.tar.gz
bcfg2-d34bedd4856ecd4a19013c224e7a05b703ace704.tar.bz2
bcfg2-d34bedd4856ecd4a19013c224e7a05b703ace704.zip
login view not needed, using built-in django view
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2460 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server/Hostbase')
-rw-r--r--src/lib/Server/Hostbase/hostbase/views.py12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/lib/Server/Hostbase/hostbase/views.py b/src/lib/Server/Hostbase/hostbase/views.py
index 1f8a6787b..3807b8283 100644
--- a/src/lib/Server/Hostbase/hostbase/views.py
+++ b/src/lib/Server/Hostbase/hostbase/views.py
@@ -53,10 +53,6 @@ dispatch = {'mac_addr':'i.mac_addr LIKE \'%%%%%s%%%%\'',
## t.failures = False
## return HttpResponse(str(t))
-def login(request):
- return render_to_response('login.html', {'next':'/hostbase'})
-
-
def search(request):
"""Search for hosts in the database
If more than one field is entered, logical AND is used
@@ -885,5 +881,11 @@ if settings.CFG_TYPE == 'environ':
zonenew = login_required(zonenew)
else:
- pass
+ edit = login_required(edit)
+ confirm = login_required(confirm)
+ dnsedit = login_required(dnsedit)
+ new = login_required(new)
+ remove = login_required(remove)
+ zoneedit = login_required(zoneedit)
+ zonenew = login_required(zonenew)