Update logger configuration for django and OAUTH@_PROVIDER_APPLICATION_MODEL

This commit is contained in:
jmath1 2020-06-11 05:50:34 -04:00
parent 3a88b5210a
commit fbff54f3a8

View file

@ -190,8 +190,8 @@ LOGGING = {
# },
},
'loggers': {
'django.request': {
'handlers': ['console', 'log_file'],
'django': {
'handlers': ['console', 'mail_admins'],
'level': 'ERROR',
'propagate': True,
},
@ -297,6 +297,8 @@ LOG_TO_STREAM = False
# = Django Apps =
# ===============
OAUTH2_PROVIDER_APPLICATION_MODEL = 'oauth2_provider.Application'
INSTALLED_APPS = (
'django.contrib.auth',
'django.contrib.contenttypes',