diff --git a/app/build.sh b/app/build.sh index a39dd91..ab4021e 100644 --- a/app/build.sh +++ b/app/build.sh @@ -5,7 +5,7 @@ set -o errexit pip install -r requirements.txt # How to automate createsuperuser on django -python manage.py shell -c "from django.contrib.auth import get_user_model; User = get_user_model(); User.objects.filter(email='admin@todo.com').delete(); User.objects.create_user(email='matiasvallejosdev@outlook.com', password='19573')" +python manage.py shell -c "from django.contrib.auth import get_user_model; User = get_user_model(); User.objects.filter(email='matiasvallejosdev@outlook.com').delete(); User.objects.create_superuser(email='matiasvallejosdev@outlook.com', password='19573')" python manage.py collectstatic --no-input python manage.py migrate