浏览代码

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.
Thibaud Colas 5 年之前
父节点
当前提交
8d10c4688e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      .squash.yml

+ 1 - 1
.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