Merge pull request #225 from nfvs/fix_emails_with_celery_link

Fixed Celery link in "Emails with Celery".
This commit is contained in:
Matt Wright
2014-03-13 09:09:39 -04:00
+4 -3
View File
@@ -145,9 +145,9 @@ templates you can specify an email context processor with the
Emails with Celery
------------------
Sometimes it makes sense to send emails via a task queue, such as
`Celery<http://www.celeryproject.org/>`_. To delay the sending of emails you can
use the ``@security.send_mail_task`` decorator like so::
Sometimes it makes sense to send emails via a task queue, such as `Celery`_.
To delay the sending of emails you can use the ``@security.send_mail_task``
decorator like so::
# Setup the task
@celery.task
@@ -160,3 +160,4 @@ use the ``@security.send_mail_task`` decorator like so::
def delay_security_email(msg):
send_security_email.delay(msg)
.. _Celery: http://www.celeryproject.org/