File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -41,8 +41,7 @@ Important Warning about Time Zones
41
41
42
42
>> > from django_celery_beat.models import PeriodicTask, PeriodicTasks
43
43
>> > PeriodicTask.objects.all().update(last_run_at = None )
44
- >> > for task in PeriodicTask.objects.all():
45
- >> > PeriodicTasks.changed(task)
44
+ >> > PeriodicTasks.update_changed()
46
45
47
46
48
47
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ Important Warning about Time Zones
32
32
33
33
>>> from django_celery_beat.models import PeriodicTask, PeriodicTasks
34
34
>>> PeriodicTask.objects.update(last_run_at=None)
35
- >>> PeriodicTasks.changed ()
35
+ >>> PeriodicTasks.update_changed ()
36
36
37
37
Note that this will reset the state as if the periodic tasks have never run
38
38
before.
You can’t perform that action at this time.
0 commit comments