--- 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. """