def logout(request):
    auth.logout(request)
    return redirect('diningdeck:index')
Exemple #2
0
def logout(request):
    auth.logout(request)
    return redirect('homepage')
Exemple #3
0
def logout(request):
    auth.logout(request)
    return render(request, 'index.html')
Exemple #4
0
def logout(request):
    auth.logout(request)
    return render(request, "home.html")
Exemple #5
0
def logout(req):
    auth.logout(req)
    return redirect('/')
Exemple #6
0
def logout(request):
    auth.logout(request)
    return redirect('ecommerceapp:allProdCat')
Exemple #7
0
def logout(request):
    auth.logout(request)
    return render(request, 'ftpmonitor/login.html')
Exemple #8
0
def logout(request):
    auth.logout(request)
    photos = homepics.objects.all()
    pics = Slider.objects.all()
    return render(request, "home.html", {'pics': pics, 'photos': photos})
def logout(request):
    if request.method == 'POST':
        auth.logout(request)
        messages.success(request, 'You are now logged out')
        return redirect('login')
Exemple #10
0
def logout(request):
    auth.logout(request)
    return redirect('dashboard')
Exemple #11
0
def logoutview(request):
    auth.logout(request)
    messages.success(request, 'Logged Out Successfully')
    return redirect('/sales/login')
Exemple #12
0
def logout(request):
   # del request.session['username']
    auth.logout(request)
    messages.info(request, 'YOU ARE LOGGED OUT')
    return redirect('/')
Exemple #13
0
def logout(request):
    auth.logout(request)
    return render(request, 'home.html', {})
Exemple #14
0
def logout(request):
    auth.logout(request)
    return render(request, 'login/logout.html')
Exemple #15
0
def logout(request):
    if not request.user.is_authenticated:
        return HttpResponseRedirect('/meme/login/')
    else:
        auth.logout(request)
        return HttpResponseRedirect('/meme/')
Exemple #16
0
 def post(self,request):
     auth.logout(request)
     return Response(status=204)
def user_logout(request):
    auth.logout(request)
    return redirect(reverse('accounts:user_login'))
Exemple #18
0
def logout(request):
    auth.logout(request)
    return redirect("/home")
Exemple #19
0
def Admin_logout(request):
    auth.logout(request)
    return redirect('/Admin')
Exemple #20
0
def logout(request):
    auth.logout(request)
    return render(request,"login.html")
 def get(self, request, *args, **kwargs):
     auth.logout(request)
     return render(request, 'about.html')
Exemple #22
0
def logout(request):
    # This is the method to logout the user
    auth.logout(request)
    return render(request, 'oursite/logout.html')  # sends them to logout page
Exemple #23
0
def logout(response):
    category=CategoryList.objects.all()
    auth.logout(response)
    return redirect("home")
Exemple #24
0
def logout(request):
    auth.logout(request)
    messages.success(request, 'You are now logged out')
    return redirect('index')
Exemple #25
0
def logoutuser(request):
    auth.logout(request)
    print('successfully logout')
    return redirect('/')
def logout(request):
    auth.logout(request)
    return redirect("login")
Exemple #27
0
def logout_request(request):
    auth.logout(request)
    return redirect("/")
Exemple #28
0
def logout(request):
    auth.logout(request)
    messages.success(request, "Successfully Logged out")
    return redirect("/Overdose")
Exemple #29
0
def logout(request):
    auth.logout(request)
    return redirect('/')
Exemple #30
0
def Userlogout(request):
    auth.logout(request)

    return redirect('/login')
Exemple #31
0
def logout(request):
    auth.logout(request)
    return HttpResponseRedirect('/dev')
Exemple #32
0
def logout(request):
    auth.logout(request)