aboutsummaryrefslogtreecommitdiffstats
path: root/catalog/settings.py
diff options
context:
space:
mode:
authordyh <dengyuanhong@chinamobile.com>2021-02-03 16:55:57 +0800
committerdyh <dengyuanhong@chinamobile.com>2021-02-03 16:57:01 +0800
commit75d2b393a082da6b13dad01e24ee97eccf63d1ee (patch)
tree423f099fdd40d245092f8977e385c14f837a26b0 /catalog/settings.py
parent431d3e2cae18d5465ee39972d05d045aae73a785 (diff)
Remove dependency on onaplogging
Change-Id: If3534ccf366ab245e64b702f0b5e45cbfab43b58 Issue-ID: MODELING-493 Signed-off-by: dyh <dengyuanhong@chinamobile.com>
Diffstat (limited to 'catalog/settings.py')
-rw-r--r--catalog/settings.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/catalog/settings.py b/catalog/settings.py
index 81127b8..3e5b919 100644
--- a/catalog/settings.py
+++ b/catalog/settings.py
@@ -17,13 +17,9 @@ import platform
import sys
from logging import config as log_config
-from onaplogging import monkey
-
from catalog.pub.config import config as pub_config
from catalog.pub.config.config import DB_NAME, DB_IP, DB_USER, DB_PASSWD, DB_PORT
-monkey.patch_all()
-
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
@@ -86,7 +82,6 @@ MIDDLEWARE = [
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
- 'catalog.middleware.LogContextMiddleware',
]
ROOT_URLCONF = 'catalog.urls'