mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-29 21:14:03 +03:00
Merge pull request #338 from siauPatrick/loggers_in_loggers
Remove excess "loggers" from LOGGING setting
This commit is contained in:
commit
5dfea14970
|
@ -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" %}
|
||||
|
|
Loading…
Reference in New Issue
Block a user