Browse Source

perf: remove pymysql

pull/13490/head
Eric 5 months ago committed by Bryan
parent
commit
17d96669fe
  1. 10
      apps/jumpserver/settings/base.py

10
apps/jumpserver/settings/base.py

@ -1,16 +1,8 @@
import os
import platform
import re
from redis.sentinel import SentinelManagedSSLConnection
if platform.system() == 'Darwin' and platform.machine() == 'arm64':
import pymysql
# pymysql.version_info = (1, 4, 2, "final", 0)
pymysql.install_as_MySQLdb()
from django.urls import reverse_lazy
from redis.sentinel import SentinelManagedSSLConnection
from .. import const
from ..const import CONFIG

Loading…
Cancel
Save