mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-09 01:28:12 +08:00
docs: fixed typo
This commit is contained in:
+1
-1
@@ -58,7 +58,7 @@ A good place to use async tasks are Django's model signals. You don't want to de
|
|||||||
# tell everyone
|
# tell everyone
|
||||||
async('tasks.inform_everyone', instance)
|
async('tasks.inform_everyone', instance)
|
||||||
|
|
||||||
The task will send a message to everyone else informing them that the users email address has changed. Note that this has adds almost no overhead to the save action::
|
The task will send a message to everyone else informing them that the users email address has changed. Note that this adds almost no overhead to the save action::
|
||||||
|
|
||||||
# tasks.py
|
# tasks.py
|
||||||
def inform_everyone(user):
|
def inform_everyone(user):
|
||||||
|
|||||||
Reference in New Issue
Block a user