[Update] 去掉debug

pull/1670/head
ibuler 6 years ago
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…
Cancel
Save