1👍
What i am doing is redirecting the user to my login page.So I should say you should try this.My application only logouts after I hit the enter button.
url:-
app_name = 'name'
url(r'^logout$', user.logout_user, name='logout_user'),
url(r'^$', user.login_user, name='login'),
views:-
def logout_user(request):
logout(request)
return redirect('name:login')
- User created in migration does not exist
- Django/Postgres: Choose from DISTINCT ON sets
- Django error : smtplib.SMTPDataError
Source:stackexchange.com