Update example to use string for the schedule_type

This commit is contained in:
Ronald van Zon
2015-11-10 11:54:28 +01:00
parent a98fafe6b7
commit 84ab4c7d47

View File

@@ -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