def loginout(request): # 删除 cookie lout(request) url = reverse("qikuapp:index") return redirect(to=url)
def logout(request): lout(request) return redirect('home')
def test(request): lout(request) return HttpResponse(str(request.user.is_authenticated()))
def logout(request): # 调用django的登出方法,为了删除cookie lout(request) url = reverse("polls:index") return redirect(to=url)
def logout(request): lout(request) return redirect('polls.views.index')
def logout(request): lout(request) return redirect('accounts:login')
def logout(request): lout(request) return redirect('/login')
def logout(request): lout(request) return render(request, 'home.html')
def logOut(request): # id = request.session["user_id"] use = request.user lout(request) return redirect('/')
def logout(request): lout(request) return redirect('budgeteer:home')
def logout(request): lout(request) return redirect('index')
def logoutFunction(request): lout(request) specificUser.clear() return Response("logout successfull")
def logout(request): if request.user.is_authenticated: lout(request) return redirect('/') return redirect('/login')