New logout function (basic auth, not for IE)
[ais.git] / bin / djais / views.py
index 59716d1fa233feefe4d5fd8fe6209ec84a27085f..f68e9a3fdfa61c00a7ce1ce531fd34258a18b29b 100644 (file)
@@ -1107,10 +1107,8 @@ def user_delete(request, login):
 
 
 def logout(request):
-    # TODO
-    return HttpResponse('Not implemented')
-    #response = render_to_response('logout.html', {}, RequestContext(request))
-    #return response
+    response = render_to_response('logout.html', {}, RequestContext(request))
+    return response
 
 periods = ({
     'name_tiny': '2h',