From 1b6ab3c63e536857794b192e40807f509638f780 Mon Sep 17 00:00:00 2001 From: Paul Traylor Date: Fri, 12 Dec 2025 14:59:47 +0900 Subject: [PATCH] Fix typo in our app.name filter crontask.task is already loaded earlier in our handle() method, so we want to fix our app.name filter here. --- crontask/management/commands/crontask.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crontask/management/commands/crontask.py b/crontask/management/commands/crontask.py index 7fa71ca..d8b3b61 100644 --- a/crontask/management/commands/crontask.py +++ b/crontask/management/commands/crontask.py @@ -87,7 +87,8 @@ def load_tasks(self, options): their tasks with the scheduler. """ for app in apps.get_app_configs(): - if app.name == "contask": + if app.name == "crontask": + # Our heartbeat is loaded earlier continue if app.ready: try: