Hello, I'm implementing one basic and one advanced Django 3.0 admin site.
How can I enforce differenciated permissions for them ? I thought about: 1. Dedicating advanced admin site to Superuser, leaving basic admin site to Superuser or Staff members 2. Leaving advanced admin site to Superuser or Staff members, allowing non-staff to access basic admin site 3. Adding a custom permissions. I tried option 2 with bellow code (see [1]) but if failed: from django.contrib.auth.forms import AuthenticationForm class BasicAdminSite(AdminSite): site_header = "Basic Admin" login_form = AuthenticationForm def has_permission(self, request): return request.user.is_active Any idea ? [1] https://tryolabs.com/blog/2012/06/18/django-administration-interface-for-non-staff-users/ Best regards -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/85495ed3-f18a-4dfc-b295-b1fcc512b67do%40googlegroups.com.