Re: Django Multiple User Login

2016-02-11 Thread Avraham Serour
maybe you can create your own session model that is related to multiple users On Thu, Feb 11, 2016 at 5:33 PM, Andreas Kuhne wrote: > You can't? > > Not without logging out the previous user. > > The session itself is used to contain a reference to the current user. You > can only have one sessi

Re: Django Multiple User Login

2016-02-11 Thread Andreas Kuhne
You can't? Not without logging out the previous user. The session itself is used to contain a reference to the current user. You can only have one session to a certain domain (for example www.example.com and app.example.com are 2 different domains). The only way for the other user to login is to

Re: Django Multiple User Login

2016-02-11 Thread jorrit787
I'm just being curious here but in what scenario would you have multiple people logging in at the same time using the same computer/browser? On Thursday, February 11, 2016 at 1:30:21 PM UTC+1, Aakash Tewari wrote: > > Hello > > > Here is new one I guess. > > We have 3 types of users say A, B, C

Django Multiple User Login

2016-02-11 Thread Aakash Tewari
Hello Here is new one I guess. We have 3 types of users say A, B, C. All have 3 different login pages on same domain. We have extended User model by OneToOne relationship like this class AModel(models.Model): users = models.OneToOneField(User, on_delete=models.CASCADE) is_A = models.N