Merge pull request #115 from Eagllus/patch_for_schedule_documentation

Update example to use string for the schedule_type
This commit is contained in:
Ilan Steemers
2015-11-11 09:50:26 +01:00
+1 -1
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