mirror of
https://github.com/django-q2/django-q2.git
synced 2026-09-15 13:37:56 +08:00
Update example to use string for the schedule_type
This commit is contained in:
@@ -16,7 +16,7 @@ You can manage them through the :ref:`admin_page` or directly from your code wit
|
||||
schedule('math.copysign',
|
||||
2, -2,
|
||||
hook='hooks.print_result',
|
||||
schedule_type=Schedule.DAILY)
|
||||
schedule_type='D')
|
||||
|
||||
# Or create the object directly
|
||||
from django_q.models import Schedule
|
||||
|
||||
Reference in New Issue
Block a user