diff --git a/docs/examples.rst b/docs/examples.rst index 0ec41de..3c25c8f 100644 --- a/docs/examples.rst +++ b/docs/examples.rst @@ -1,12 +1,12 @@ Examples -------- -Sending mails -============= +Async emails +============ Sending an email can take a while so why not queue it:: - # Welcome mail with follow up + # Welcome mail with follow up example from datetime import timedelta from django.utils import timezone from django_q import async, schedule, Schedule @@ -82,6 +82,8 @@ The task will send a message to everyone else informing them that the users emai 'New email', msg, 'from@example.com', [u.email]) + + .. note:: If you have an example you want to share, please submit a pull request on `github `__.