mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-22 17:47:08 +03:00
Remove excess "loggers" from LOGGING setting
This commit is contained in:
parent
0a84799252
commit
379214348e
|
@ -260,15 +260,13 @@ LOGGING = {
|
|||
'django.request': {
|
||||
'handlers': ['mail_admins'],
|
||||
'level': 'ERROR',
|
||||
'propagate': True,
|
||||
'propagate': True
|
||||
},
|
||||
'loggers': {
|
||||
'django.security.DisallowedHost': {
|
||||
'level': 'ERROR',
|
||||
'handlers': ['console', 'mail_admins'],
|
||||
'propagate': True,
|
||||
},
|
||||
},
|
||||
'propagate': True
|
||||
}
|
||||
}
|
||||
}
|
||||
{% if cookiecutter.use_celery == "y" %}
|
||||
|
|
Loading…
Reference in New Issue
Block a user