Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to logout in django

from django.contrib.auth import logout

def logout_view(request):
    logout(request)
    # Redirect to a success page.
Source by docs.djangoproject.com #
 
PREVIOUS NEXT
Tagged: #logout #django
ADD COMMENT
Topic
Name
7+7 =