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)