fix:更改debug

This commit is contained in:
zty 2024-06-06 11:05:00 +08:00
parent 6aeae70b64
commit 509fc11657
1 changed files with 6 additions and 6 deletions

View File

@ -187,7 +187,7 @@ SIMPLE_JWT = {
AUTH_USER_MODEL = 'system.User' AUTH_USER_MODEL = 'system.User'
DEBUG = False
# 用户认证 # 用户认证
AUTHENTICATION_BACKENDS = ( AUTHENTICATION_BACKENDS = (
'apps.system.authentication.CustomBackend', 'apps.system.authentication.CustomBackend',
@ -228,11 +228,11 @@ LOGGING = {
}, },
}, },
# 过滤 # 过滤
'filters': { # 'filters': {
'require_debug_true': { # 'require_debug_true': {
'()': 'django.utils.log.RequireDebugTrue', # '()': 'django.utils.log.RequireDebugTrue',
}, # },
}, # },
# 定义具体处理日志的方式 # 定义具体处理日志的方式
'handlers': { 'handlers': {
# 默认记录所有日志 # 默认记录所有日志