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