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