DEV Community

Discussion on: Preventing Multiple Login for a Single Django User

Collapse
 
ashraf_zolkopli profile image
ashrafZolkopli

This method assume that the admin is using Django application that is being served directly by Django. To make it work with JWT, We need to use either Django Rest Framework ( DRF ) with a specific permission design to allow only one login per staff user. This is doable but beyon the topic of this post.