Django admin panel logout functionality

Viewed 84

Is there any way to logout from all devices where I have logged in as admin in Django admin panel? The site has already been deployed to heroku server

2 Answers
  • There is no such option, one idea is to delete that user and recreate super user.
  • Change superuser password.

you can manually delete all sessions you have in your database.

from django.contrib.sessions.models import Session
Session.objects.delete()

Related