Here is the problem I am facing with the Django Authenetication
Basically, this should work:
from django.contrib.auth import logout def logout_view(request): logout(request) # Redirect to a success page.
Could you clarify by posting your view if it's not something like this?