fix:更改debug
This commit is contained in:
parent
6aeae70b64
commit
509fc11657
|
@ -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': {
|
||||
# 默认记录所有日志
|
||||
|
|
Loading…
Reference in New Issue