From e2d04550d93311f861372209a3d5f9f4446ef5d7 Mon Sep 17 00:00:00 2001 From: rolinchen Date: Mon, 18 Nov 2024 12:03:23 +0800 Subject: [PATCH] feat: update dependencies for project --- src/bk-login/bklogin/settings.py | 4 ---- src/bk-user/bkuser/settings.py | 5 ----- 2 files changed, 9 deletions(-) diff --git a/src/bk-login/bklogin/settings.py b/src/bk-login/bklogin/settings.py index 5f35c6d24..448e11857 100644 --- a/src/bk-login/bklogin/settings.py +++ b/src/bk-login/bklogin/settings.py @@ -30,10 +30,6 @@ # Patch version info to force pass Django client check pymysql.version_info = 1, 4, 6, "final", 0 -# Patch the SSL module for compatibility with legacy CA credentials. -# https://stackoverflow.com/questions/72479812/how-to-change-tweak-python-3-10-default-ssl-settings-for-requests-sslv3-alert -urllib3.util.ssl_.DEFAULT_CIPHERS = "ALL:@SECLEVEL=1" - # environ env = environ.Env() # load environment variables from .env file diff --git a/src/bk-user/bkuser/settings.py b/src/bk-user/bkuser/settings.py index 929e06cd7..7edc13fd2 100644 --- a/src/bk-user/bkuser/settings.py +++ b/src/bk-user/bkuser/settings.py @@ -30,11 +30,6 @@ # Patch version info to force pass Django client check pymysql.version_info = 1, 4, 6, "final", 0 -# Patch the SSL module for compatibility with legacy CA credentials. -# https://stackoverflow.com/questions/72479812/how-to-change-tweak-python-3-10-default-ssl-settings-for-requests-sslv3-alert -urllib3.util.ssl_.DEFAULT_CIPHERS = "ALL:@SECLEVEL=1" - - # environ env = environ.Env() # load environment variables from .env file