settings.py: re-enable mail_admins

This commit is contained in:
Jérôme Schneider 2014-03-21 10:27:45 +01:00
parent ab330c028f
commit 6d65111ed7
1 changed files with 9 additions and 8 deletions

View File

@ -139,6 +139,7 @@ import os
apps_dir = os.path.join(os.path.dirname(__file__), 'apps')
if apps_dir not in sys.path:
sys.path.append(apps_dir)
import portail_citoyen # FIXME: without that sys.path does not contain portail_citoyen.apps
INSTALLED_APPS = (
@ -402,42 +403,42 @@ LOGGING = {
},
'loggers': {
'authentic2': {
'handlers': ['syslog'],
'handlers': ['mail_admins','syslog'],
'level': 'DEBUG' if DEBUG else 'INFO',
'propagate': False,
},
'requests': {
'handlers': ['syslog'],
'handlers': ['mail_admins','syslog'],
'level': 'ERROR',
'propagate': False,
},
'portail_citoyen': {
'handlers': ['syslog'],
'handlers': ['mail_admins','syslog'],
'level': 'DEBUG' if DEBUG else 'INFO',
'propagate': False,
},
'django': {
'handlers': ['syslog'],
'handlers': ['mail_admins','syslog'],
'level': 'DEBUG' if DEBUG else 'INFO',
'propagate': False,
},
'django.db': {
'handlers': ['syslog'],
'handlers': ['mail_admins','syslog'],
'level': 'INFO',
'propagate': False,
},
'south': {
'handlers': ['syslog'],
'handlers': ['mail_admins','syslog'],
'level': 'INFO',
'propagate': False,
},
'django_select2': {
'handlers': ['syslog'],
'handlers': ['mail_admins','syslog'],
'level': 'INFO',
'propagate': False,
},
'': {
'handlers': ['syslog'],
'handlers': ['mail_admins','syslog'],
'level': 'DEBUG' if DEBUG else 'INFO',
'propagate': True,
},