The default user administration list looks similar to the following screenshot:
The default group administration list looks similar to the following screenshot:
In this recipe, we created two models:
- The Role model, which is a proxy for the Group model from the django.contrib.auth app. The Role model was created to rename the verbose name of Group to Role.
- The User model, which extends the same abstract AbstractUser class as the User model from django.contrib.auth. The User model was created to replace the primary key with ...