更新README

This commit is contained in:
xishandong 2023-07-10 16:57:55 +08:00
parent 568eb529a8
commit 19c2c3219b
3 changed files with 30 additions and 2 deletions

6
.idea/vcs.xml Normal file
View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>

22
README.md Normal file
View File

@ -0,0 +1,22 @@
### Django后端
#### 需要安装依赖
``` bash
pip install Django
pip install pyjwt
pip install django-cors-headers
pip insatll mysqlclient
```
#### 功能
用户登录
用户注册
主页帖子
帖子详情
用户主页
未完待续

View File

@ -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',
}
}