diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..401dc5b --- /dev/null +++ b/README.md @@ -0,0 +1,22 @@ +### Django后端 + +#### 需要安装依赖 +``` bash +pip install Django +pip install pyjwt +pip install django-cors-headers +pip insatll mysqlclient +``` + +#### 功能 +用户登录 + +用户注册 + +主页帖子 + +帖子详情 + +用户主页 + +未完待续 \ No newline at end of file diff --git a/webServer/settings.py b/webServer/settings.py index 66b53c9..9f4bd59 100644 --- a/webServer/settings.py +++ b/webServer/settings.py @@ -79,8 +79,8 @@ DATABASES = { 'ENGINE': 'django.db.backends.mysql', 'NAME': 'server01', 'USER': 'root', - 'PASSWORD': '!d0x9sDXS', - 'HOST': '113.125.109.60', + 'PASSWORD': '******', + 'HOST': '******', 'PORT': '3306', } }