Remove excess "loggers" from LOGGING setting

This commit is contained in:
Roman Afanaskin 2015-09-21 22:36:06 +03:00
parent 0a84799252
commit 379214348e

View File

@ -260,15 +260,13 @@ LOGGING = {
'django.request': {
'handlers': ['mail_admins'],
'level': 'ERROR',
'propagate': True,
},
'loggers': {
'django.security.DisallowedHost': {
'level': 'ERROR',
'handlers': ['console', 'mail_admins'],
'propagate': True,
},
'propagate': True
},
'django.security.DisallowedHost': {
'level': 'ERROR',
'handlers': ['console', 'mail_admins'],
'propagate': True
}
}
}
{% if cookiecutter.use_celery == "y" %}