1👍
✅
You could write middleware for this, to explicitly logout authenticated users in non-admin pages as suggested in this answer:
0👍
I was having a similar issue. So I just filtered is_staff = false to get the normal users for my project in my views.py and forced my admin to login page
- [Answered ]-How to append value to the ArrayField in Django with PostgreSQL?
- [Answered ]-Django {%trans%} not working, despite django.po being generated
Source:stackexchange.com