📅  最后修改于: 2022-03-11 14:47:14.443000             🧑  作者: Mango
# Celery email sending
CELERY_BROKER_URL = 'amqp://localhost'
INSTALLED_APPS += (
'djcelery_email',
'django_celery_results'
)
CELERY_EMAIL_TASK_CONFIG = {
'name': 'djcelery_email_send',
'ignore_result': False,
}
CELERY_RESULT_BACKEND = 'django-db'
EMAIL_BACKEND = 'djcelery_email.backends.CeleryEmailBackend'