You can do this
project tree root --user ----models.py
python manage.py shell from user.models import CustomUser CustomUser.objects.create_superuser(username="admin", email="[email protected]", password="admin") quit()