Here is the problem I am facing with the Django Authenetication
In Django 1.4.* I've had problems with the logout()
function. It simply wasn't logging out my users.
Now I'm just using the contributed view to logout users and it works perfectly. Simply add this to your root urls.py
file if you don't want to do anything else special:
(r'^logout/$', 'django.contrib.auth.views.logout', {'next_page': '/login'}),
and you'll be good to go.
Happy Djangoing.