diff --git a/README.md b/README.md index 703f5c5..0476eab 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,11 @@ pip install django-cors-headers pip insatll mysqlclient ``` +#### 使用 +需要在settings中修改数据库的配置信息 + +配置你自己的端口号等信息 + #### 功能 用户登录 @@ -22,4 +27,6 @@ pip insatll mysqlclient 用户主页 +用户评论 + 未完待续 \ No newline at end of file diff --git a/webServer/__pycache__/settings.cpython-39.pyc b/webServer/__pycache__/settings.cpython-39.pyc index aadaf64..a20d88d 100644 Binary files a/webServer/__pycache__/settings.cpython-39.pyc and b/webServer/__pycache__/settings.cpython-39.pyc differ diff --git a/webServer/settings.py b/webServer/settings.py index eb7fec5..0ccd204 100644 --- a/webServer/settings.py +++ b/webServer/settings.py @@ -79,8 +79,8 @@ 'ENGINE': 'django.db.backends.mysql', 'NAME': 'server01', 'USER': 'root', - 'PASSWORD': '!d0x9sDXS', - 'HOST': '113.125.109.60', + 'PASSWORD': '******', + 'HOST': '******', 'PORT': '3306', } }