fix:修改settings

This commit is contained in:
zty 2024-06-06 11:21:21 +08:00
parent 25013fe8e1
commit a19d3a2295
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': {
# 默认记录所有日志 # 默认记录所有日志