Skip to content

Commit c5eae09

Browse files
CopilotMickLesk
andauthored
Fix Django superuser creation failing with ImproperlyConfigured error (#9554)
* Initial plan * Fix Django superuser creation by using manage.py shell Co-authored-by: MickLesk <[email protected]> * Add $STD prefix to superuser creation for consistency Co-authored-by: MickLesk <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: MickLesk <[email protected]>
1 parent fd8a305 commit c5eae09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install/healthchecks-install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ $STD python manage.py migrate --noinput
8989
$STD python manage.py collectstatic --noinput
9090
$STD python manage.py compress
9191

92-
python <<EOF
92+
$STD python manage.py shell <<EOF
9393
from django.contrib.auth import get_user_model
9494
User = get_user_model()
9595
if not User.objects.filter(email="${ADMIN_EMAIL}").exists():

0 commit comments

Comments
 (0)