(request, username)
return HttpResponse()
logs out the user. does nothing if he wasn't logged in
logs out the user. does nothing if he wasn't logged in
logs out the user . does nothing if he wasn t logged in
def logout(request, username):
    """
    logs out the user. does nothing if he wasn't logged in
    """

    auth.logout(request)
    return HttpResponse()
def logout ( request , username ) : auth . logout ( request ) return HttpResponse ( )