How to manage the separate session for same browser Admin & Frontend in django

56 views
Skip to first unread message

Pravin Yadav

unread,
Aug 5, 2019, 7:04:58 AM8/5/19
to django...@googlegroups.com
I'm looking for a way to separate the session handling for the admin part of a site and the frontend.

A person should be able to log in to the admin (only if he has is_staff and/or is_superuser).
He should have to be able to login with another username into frontend.

So basically it's like two separate sessions for the admin and frontend.
Login/Logout and Permission-check functionality is not a problem, different sessions is the problem. Any ideas?


Thanks,
Pravin

edepe

unread,
Aug 5, 2019, 11:39:37 AM8/5/19
to Django users
Put the admin on another domain or sub-domain is an option?
Regards
Reply all
Reply to author
Forward
0 new messages