6👍
✅
You can try to remove:
@property
def is_superuser(self):
return self.is_admin
from Users
class. is_superuser
is a field in permissionsmixin
inherited by users class.
👤zhui
Source:stackexchange.com