From 22ef0ed83f02c93607b861554a87d2e9cc6a2ebd Mon Sep 17 00:00:00 2001 From: Yuri Date: Sun, 30 Apr 2017 00:30:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=83=B3=E5=88=B0=E6=80=8E=E4=B9=88=E9=87=8D?= =?UTF-8?q?=E7=BD=AE=E5=AF=86=E7=A0=81=E4=BA=86=20:P?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 41538f7..7e2a2e7 100644 --- a/README.md +++ b/README.md @@ -40,17 +40,16 @@ DATABASES = { ## 运行测试服务器 > python manage.py runserver -## 创建管理员账户(因为我没找到SQL库里admin的密码) +## 修改管理员账户密码 ``` -C:\Django-ERP>python manage.py createsuperuser +C:\Django-ERP>python manage.py changepassword admin You have 3 unapplied migration(s). Your project may not work properly until you apply the migrations for app(s): admin, auth. Run 'python manage.py migrate' to apply them. -Username (leave blank to use 'baoz'): system -Email address: yurihuang@me.com +Changing password for user 'admin' Password: Password (again): -Superuser created successfully. +Password changed successfully for user 'admin' C:\Django-ERP> ```