mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-06-27 23:37:08 +00:00
[Update] 去掉debug
This commit is contained in:
parent
e41aad1576
commit
7da46354ca
@ -261,10 +261,10 @@ LOGGING = {
|
|||||||
'handlers': ['console', 'file'],
|
'handlers': ['console', 'file'],
|
||||||
'level': "INFO",
|
'level': "INFO",
|
||||||
},
|
},
|
||||||
'django.db': {
|
# 'django.db': {
|
||||||
'handlers': ['console', 'file'],
|
# 'handlers': ['console', 'file'],
|
||||||
'level': 'DEBUG'
|
# 'level': 'DEBUG'
|
||||||
}
|
# }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -322,7 +322,7 @@ REST_FRAMEWORK = {
|
|||||||
'common.permissions.IsOrgAdmin',
|
'common.permissions.IsOrgAdmin',
|
||||||
),
|
),
|
||||||
'DEFAULT_AUTHENTICATION_CLASSES': (
|
'DEFAULT_AUTHENTICATION_CLASSES': (
|
||||||
'rest_framework.authentication.BasicAuthentication',
|
# 'rest_framework.authentication.BasicAuthentication',
|
||||||
'users.authentication.AccessKeyAuthentication',
|
'users.authentication.AccessKeyAuthentication',
|
||||||
'users.authentication.AccessTokenAuthentication',
|
'users.authentication.AccessTokenAuthentication',
|
||||||
'users.authentication.PrivateTokenAuthentication',
|
'users.authentication.PrivateTokenAuthentication',
|
||||||
|
Loading…
Reference in New Issue
Block a user