From 8d10c4688ea9252a90e49936d9d6eb2eabe4d1d7 Mon Sep 17 00:00:00 2001 From: Thibaud Colas Date: Fri, 17 May 2019 14:37:33 +0100 Subject: [PATCH] Update squash user details to be more portable - Changes the user's email from `@myproject.com` to `@example.com`. myproject.com points to a real website, it feels better to use a domain that's definitely meant as a placeholder. - Changes the password to `changeme`, matching the credentials used for https://github.com/wagtail/bakerydemo. --- .squash.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.squash.yml b/.squash.yml index 35e4c0119a..b452f10fd3 100644 --- a/.squash.yml +++ b/.squash.yml @@ -16,7 +16,7 @@ deployments: - wagtail start mysite - cd /myproject/mysite - python manage.py migrate - - echo "from django.contrib.auth import get_user_model; User = get_user_model(); User.objects.create_superuser('admin', 'admin@myproject.com', 'password')" | python manage.py shell + - echo "from django.contrib.auth import get_user_model; User = get_user_model(); User.objects.create_superuser('admin', 'admin@example.com', 'changeme')" | python manage.py shell launch_steps: - cd /myproject/mysite - python manage.py runserver 0.0.0.0:80