mirror of
https://github.com/django-q2/django-q2.git
synced 2026-09-15 13:37:56 +08:00
docs: changed header
This commit is contained in:
@@ -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 <https://github.com/Koed00/django-q/>`__.
|
||||
|
||||
Reference in New Issue
Block a user