Skip to content

Commit

Permalink
feat(init): create superuser without input
Browse files Browse the repository at this point in the history
  • Loading branch information
thekaveman committed Nov 8, 2023
1 parent c5f1972 commit 13b24c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ python manage.py migrate
# check DJANGO_ADMIN = true, default to false if empty or unset

if [[ ${DJANGO_ADMIN:-false} = true ]]; then
python manage.py createsuperuser
python manage.py createsuperuser --no-input
else
echo "superuser: Django not configured for Admin access"
fi
Expand Down

0 comments on commit 13b24c0

Please sign in to comment.