Saturday, February 13, 2016

Re: User logged in at same time as admin superuser?

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

On Sun, 14 Feb 2016 at 06:10 monoBOT <monobot.soft@gmail.com> wrote:
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

2016-02-13 23:18 GMT+00:00 James Schneider <jrschneider83@gmail.com>:


On Feb 13, 2016 10:04 AM, "Jason" <leggett647@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

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@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/

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@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%2BxOsGAZqTVPeho8BxtfB5zmx%2Bp63_FwnLD4ybmiTjVojrCRGA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@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/CAByqUgjho3pLfeKweoZcXycE744MWhQHC%2BR-LWNvwLN%2B1gQyjw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment