Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

django logout

from django.contrib.auth import logout

def logout_view(request):
    logout(request)
    # Redirect to a success page.
 
PREVIOUS NEXT
Tagged: #django #logout
ADD COMMENT
Topic
Name
6+8 =