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