Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

Commit

Permalink
Fixed Celery link in "Emails with Celery".
Browse files Browse the repository at this point in the history
  • Loading branch information
nfvs committed Feb 27, 2014
1 parent 1d3a75d commit 0f872af
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/customizing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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/

0 comments on commit 0f872af

Please sign in to comment.