Skip to content

Commit

Permalink
Fix README
Browse files Browse the repository at this point in the history
- PeriodicTasks.changed() cannot be called without arguments. Should call
  PeriodicTasks.update_changed() directly.
  • Loading branch information
johnliu55tw authored and auvipy committed Sep 6, 2020
1 parent 102f0bd commit dba6e43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ If you update periodic tasks in bulk, you will need to update the counter
manually::

>>> from django_celery_beat.models import PeriodicTasks
>>> PeriodicTasks.changed()
>>> PeriodicTasks.update_changed()

Example creating interval-based periodic task
---------------------------------------------
Expand Down

0 comments on commit dba6e43

Please # to comment.