Django has superuser, staff, admin…
superuser and staff are in django.contib.auth.models.UserManager
. Then there is the createsuperuser
co
Django only has one user type. Its simply User
. Depending on what permissions you give the user they are able to do different things by default:
staff
flag, can login to the contributed admin app. Beyond this, they have no other special privileges.A superuser is just a convenience method to create a user with all permissions. They are just normal users given staff and all permissions by default.
There is also ADMINS and MANAGERS settings.
These are used for notifications, when the site is running in production (ie, when DEBUG
is False).
Admins are notified of any errors that generate a traceback. They are emailed the traceback and information about the request. Managers are emailed when someone requests a link that doesn't exist (basically, when a 404 is raised).