django how to find out the user is a superuser or staff code example Example: django admin create superuser $ python manage.py createsuperuser