This commit is contained in:
@@ -17,7 +17,7 @@ fi
|
||||
|
||||
echo "Creating superuser: $ADMIN_USERNAME"
|
||||
|
||||
docker-compose exec -T web python manage.py shell <<PY
|
||||
docker compose exec -T web python manage.py shell <<PY
|
||||
from django.contrib.auth import get_user_model
|
||||
User = get_user_model()
|
||||
username = '${ADMIN_USERNAME}'
|
||||
|
||||
Reference in New Issue
Block a user