From de5979bf3c236d98edd61b59d70a409359fb3e6d Mon Sep 17 00:00:00 2001 From: kingmo888 <17401091+kingmo888@users.noreply.github.com> Date: Wed, 15 May 2024 10:52:24 +0800 Subject: [PATCH] update --- README.md | 4 ++++ requirements.txt | 1 + 2 files changed, 5 insertions(+) diff --git a/README.md b/README.md index d7116c5..ef3d340 100644 --- a/README.md +++ b/README.md @@ -169,6 +169,10 @@ services: - 后台操作登录或登出时:CSRF验证失败. 请求被中断. 这种操作大概率是docker配置+nginx反代+SSL的组合,要注意修改CSRF_TRUSTED_ORIGINS,如果是ssl那就是https开头,否则就是http。 + +- Mysql版本要求 + + 如果你使用的是Mysql数据库,需要注意django4.x版本需要Mysql8.0,如果要使用mysql5.8则需要将django版本降至3.2。 ## 开发计划 diff --git a/requirements.txt b/requirements.txt index b64aab3..de99768 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,3 @@ django xlwt +mysqlclient \ No newline at end of file