equal
deleted
inserted
replaced
120 return render_to_response("login.html", {"form":form}) |
120 return render_to_response("login.html", {"form":form}) |
121 else: |
121 else: |
122 form = LoginForm() |
122 form = LoginForm() |
123 return render_to_response("login.html", {"form":form}) |
123 return render_to_response("login.html", {"form":form}) |
124 |
124 |
|
125 @login_required |
125 def admin_logout(request): |
126 def admin_logout(request): |
126 """ simply logout. |
127 """ simply logout. |
127 """ |
128 """ |
128 |
129 |
129 logout(request) |
130 logout(request) |