From ea1d9546b989b140ce55bcd1a6bdb79fd7618e6a Mon Sep 17 00:00:00 2001 From: Andrey Smakotin Date: Sat, 13 Dec 2025 01:33:43 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=20=D0=B0=D0=BB=D0=B8=D0=B0=D1=81=20celery=20=D0=B4=D0=BB?= =?UTF-8?q?=D1=8F=20=D1=81=D0=BE=D0=B2=D0=BC=D0=B5=D1=81=D1=82=D0=B8=D0=BC?= =?UTF-8?q?=D0=BE=D1=81=D1=82=D0=B8=20=D1=81=20=D0=BA=D0=BE=D0=BC=D0=B0?= =?UTF-8?q?=D0=BD=D0=B4=D0=B0=D0=BC=D0=B8=20Celery=20CLI=20=D0=B2=20Docker?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- myproject/myproject/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/myproject/myproject/__init__.py b/myproject/myproject/__init__.py index c8c70ba..a58cbd9 100644 --- a/myproject/myproject/__init__.py +++ b/myproject/myproject/__init__.py @@ -4,4 +4,7 @@ This ensures the Celery app is loaded when Django starts. """ from .celery import app as celery_app +# Для совместимости с командами типа 'celery -A myproject' +celery = celery_app + __all__ = ('celery_app',)