diff --git a/scripts/loaddjango.sh b/scripts/loaddjango.sh index 34fe212..a808dda 100755 --- a/scripts/loaddjango.sh +++ b/scripts/loaddjango.sh @@ -12,7 +12,7 @@ python manage.py migrate eoa yes "y" | python manage.py makemigrations yes "y" | python manage.py migrate # Create superuser with pwd from env variable -echo "from django.contrib.auth import get_user_model; User = get_user_model(); User.objects.filter(email='admin@example.com', is_superuser=True).delete(); User.objects.create_superuser('admin', 'admin@example.com',"$ADMIN_PWD")" | python manage.py shell +echo "from django.contrib.auth import get_user_model; User = get_user_model(); User.objects.filter(email='admin@example.com', is_superuser=True).delete(); User.objects.create_superuser('admin', 'admin@example.com','"$ADMIN_PWD"')" | python manage.py shell # Import Bärnighausen file python manage.py tei_import -f baernighausen.xml