I want to create a custom User by inherit the AbstractUser:
https://docs.djangoproject.com/en/1.11/topics/auth/customizing/#substituting-a-custom-user-model
But, there is a issue for me, when I use the permissions, there is a IsAdminUser
permission.
If I have two custom User models, such as User model, and AminUser model (all of them inherit form AbstractUser). How can I distinguish a user is AminUser or normal User in the custom User model?