Prevent multiple login in Django

Question!

I create session using cache.set() method in my database. i use django API for android app. My problem is that when one user is already logged in and other user try to login with same username/password. i want to prevent second user to login. how it is possible?



Answers
Please use django's in-built Login Module which will take care of login and session maintenance !

By : Ambi


This video can help you solving your question :)
By: admin