Monday, August 5, 2019

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

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

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAEr6%3DdyMKAEOzfitL3ER9DxgQ3RU2TspJWhJ4D9%3DfrsX4WPvfg%40mail.gmail.com.

No comments:

Post a Comment