From 84ab4c7d4737054f5c4a72f94f9a3596c0e49515 Mon Sep 17 00:00:00 2001 From: Ronald van Zon Date: Tue, 10 Nov 2015 11:54:28 +0100 Subject: [PATCH] Update example to use string for the schedule_type --- docs/schedules.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/schedules.rst b/docs/schedules.rst index 8a90ea3..3e298f3 100644 --- a/docs/schedules.rst +++ b/docs/schedules.rst @@ -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