From 271bb1f1700fef8179da12fff35eb2adfadbaa20 Mon Sep 17 00:00:00 2001 From: Oracle Date: Sat, 18 Oct 2025 14:01:41 +0200 Subject: [PATCH] Small exclusion change --- asyncron/apps.py | 2 ++ asyncron/management/commands/run_asyncron_worker.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/asyncron/apps.py b/asyncron/apps.py index d7ba166..2d2dc81 100644 --- a/asyncron/apps.py +++ b/asyncron/apps.py @@ -118,6 +118,8 @@ class AsyncronConfig(AppConfig): for import_file in ext_dir.iterdir(): if not import_file.is_file(): continue if import_file.suffixes[-1] != ".py": continue + if import_file.name.startswith("_"): continue + #So the imported module can attach it's method to the extender created last if extender is None: extender = Extender( model ) diff --git a/asyncron/management/commands/run_asyncron_worker.py b/asyncron/management/commands/run_asyncron_worker.py index 4eb0e63..6198a8a 100644 --- a/asyncron/management/commands/run_asyncron_worker.py +++ b/asyncron/management/commands/run_asyncron_worker.py @@ -49,7 +49,7 @@ class Command(BaseCommand): else: break - + print("Command Exited:", worker)