A short note on how to fix the queryset administration form
. Actually, there is no difference, since the form
is inherited from
. Nevertheless, I will show
as an example.
The task is as follows. The site has superusers and users from the administration. Superusers can see all users and edit as they like. And administration users can see all user records except superusers, and also can not appoint other users as superusers.