Merge pull request #338 from siauPatrick/loggers_in_loggers

Remove excess "loggers" from LOGGING setting
This commit is contained in:
Daniel Greenfeld 2015-09-21 21:22:32 -07:00
commit 5dfea14970

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" %}