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