mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-08 06:48:13 +08:00
README bug in schedule example
This commit is contained in:
+1
-1
@@ -153,7 +153,7 @@ Admin page or directly from your code:
|
|||||||
from django_q import Schedule
|
from django_q import Schedule
|
||||||
from django.utils import timezone
|
from django.utils import timezone
|
||||||
|
|
||||||
Schedule.create(func='math.copysign',
|
Schedule.objects.create(func='math.copysign',
|
||||||
hook='hooks.print_result',
|
hook='hooks.print_result',
|
||||||
args='2,-2',
|
args='2,-2',
|
||||||
schedule_type=Schedule.DAILY,
|
schedule_type=Schedule.DAILY,
|
||||||
|
|||||||
Reference in New Issue
Block a user