User logged in at same time as admin superuser?

31 views
Skip to first unread message

Jason

unread,
Feb 13, 2016, 1:04:07 PM2/13/16
to Django users
When using Django app on localhost (development server), can a standard user be logged in at the same time as an admin superuser? My standard user gets logged out each time I log in with the admin superuser in a separate browser window. Is this because of the session management?

Thank you for any help!!!

James Schneider

unread,
Feb 13, 2016, 6:19:27 PM2/13/16
to django...@googlegroups.com


On Feb 13, 2016 10:04 AM, "Jason" <legge...@gmail.com> wrote:
>
> When using Django app on localhost (development server), can a standard user be logged in at the same time as an admin superuser? My standard user gets logged out each time I log in with the admin superuser in a separate browser window. Is this because of the session management?
>
> Thank you for any help!!!
>

Only one user at a time per browser. However, you can log in a second time using a different browser, or possibly using the private/incognito feature of your initial browser.

-James

monoBOT

unread,
Feb 13, 2016, 7:40:27 PM2/13/16
to django...@googlegroups.com
You can do that...

For one of the users go to localhost:8000 and for the other go to 127.0.0.1:8000
also on linux you can set on /etc/hosts alternative names for localhost

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CA%2Be%2BciX2%2BuP2CK2xmzDp4BHaQo%3DgSE1JJ0An%2BsU6CJidXH4U_A%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.



--
monoBOT
Visite mi sitio(Visit my site): monobotsoft.es/blog/

Dheerendra Rathor

unread,
Feb 13, 2016, 10:24:35 PM2/13/16
to django...@googlegroups.com
Extending on monoBOT's answer, you can also use your private IP (like 192.168.x.x) for another session. Though you need to start server on 0.0.0.0

Reply all
Reply to author
Forward
0 new messages