diff --git a/apiserver/paasng/paasng/settings/__init__.py b/apiserver/paasng/paasng/settings/__init__.py index 2e6f100ae8..e839c79bbe 100644 --- a/apiserver/paasng/paasng/settings/__init__.py +++ b/apiserver/paasng/paasng/settings/__init__.py @@ -109,8 +109,6 @@ def minimum_database_version(self): DatabaseFeatures.minimum_database_version = PatchFeatures.minimum_database_version # noqa pymysql.install_as_MySQLdb() -# Patch version info to force pass Django client check -setattr(pymysql, "version_info", (1, 4, 6, "final", 0)) # 蓝鲸数据库内容加密私钥 # 使用 `from cryptography.fernet import Fernet; Fernet.generate_key()` 生成随机秘钥