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