mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-31 21:41:33 +00:00
Update logger configuration for django and OAUTH@_PROVIDER_APPLICATION_MODEL
This commit is contained in:
parent
3a88b5210a
commit
fbff54f3a8
1 changed files with 4 additions and 2 deletions
|
@ -190,8 +190,8 @@ LOGGING = {
|
||||||
# },
|
# },
|
||||||
},
|
},
|
||||||
'loggers': {
|
'loggers': {
|
||||||
'django.request': {
|
'django': {
|
||||||
'handlers': ['console', 'log_file'],
|
'handlers': ['console', 'mail_admins'],
|
||||||
'level': 'ERROR',
|
'level': 'ERROR',
|
||||||
'propagate': True,
|
'propagate': True,
|
||||||
},
|
},
|
||||||
|
@ -297,6 +297,8 @@ LOG_TO_STREAM = False
|
||||||
# = Django Apps =
|
# = Django Apps =
|
||||||
# ===============
|
# ===============
|
||||||
|
|
||||||
|
OAUTH2_PROVIDER_APPLICATION_MODEL = 'oauth2_provider.Application'
|
||||||
|
|
||||||
INSTALLED_APPS = (
|
INSTALLED_APPS = (
|
||||||
'django.contrib.auth',
|
'django.contrib.auth',
|
||||||
'django.contrib.contenttypes',
|
'django.contrib.contenttypes',
|
||||||
|
|
Loading…
Add table
Reference in a new issue