sdi/views.py
branchanoop
changeset 70 58cafee2ee89
parent 67 b9690fbf78af
child 72 3673ed3ca27c
--- a/sdi/views.py	Mon Jun 07 15:48:41 2010 +0530
+++ b/sdi/views.py	Mon Jun 07 15:50:01 2010 +0530
@@ -122,6 +122,7 @@
         form = LoginForm()
         return render_to_response("login.html", {"form":form})
 
+@login_required
 def admin_logout(request):
     """ simply logout.
     """