From 19c2c3219bd291d93809de83348120e8366e309e Mon Sep 17 00:00:00 2001 From: xishandong Date: Mon, 10 Jul 2023 16:57:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0README?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/vcs.xml | 6 ++++++ README.md | 22 ++++++++++++++++++++++ webServer/settings.py | 4 ++-- 3 files changed, 30 insertions(+), 2 deletions(-) create mode 100644 .idea/vcs.xml create mode 100644 README.md 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 @@ 'ENGINE': 'django.db.backends.mysql', 'NAME': 'server01', 'USER': 'root', - 'PASSWORD': '!d0x9sDXS', - 'HOST': '113.125.109.60', + 'PASSWORD': '******', + 'HOST': '******', 'PORT': '3306', } }