Enable emailing on task failure

This commit is contained in:
2010-11-10 11:39:09 +00:00
parent fc7a158352
commit c6e7d8cb15

View File

@@ -157,8 +157,6 @@ try:
except:
pass
djcelery.setup_loader()
### Celery Schedule
CELERYBEAT_SCHEDULE = {
@@ -172,3 +170,8 @@ CELERYBEAT_SCHEDULE = {
},
}
CELERY_SEND_TASK_ERROR_EMAILS = True
# Load the Celery tasks
djcelery.setup_loader()