If you have only one email, make sure you have a comma in the list:
ADMINS = (('Admin', ' admin@my-domain.com '),)
I tried these and it seems to work:
LOGGING = { 'version': 1, 'disable_existing_loggers': False, 'handlers': { 'mail_admins': { 'level': 'ERROR', 'class': 'django.utils.log.AdminEmailHandler' } }, 'loggers': { 'django.request': { 'handlers': ['mail_admins'], 'level': 'ERROR', 'propagate': True, }, } }
source share