From 86e12391fd48c2d40cf30534b6d69cfa860455db Mon Sep 17 00:00:00 2001 From: Behshad RahmanPour Date: Tue, 7 Nov 2023 17:53:34 +0330 Subject: [PATCH] change directory --- core/__init__.py | 4 ++++ {shop => core}/celery.py | 0 shop/__init__.py | 3 --- 3 files changed, 4 insertions(+), 3 deletions(-) rename {shop => core}/celery.py (100%) diff --git a/core/__init__.py b/core/__init__.py index e69de29..e40367c 100644 --- a/core/__init__.py +++ b/core/__init__.py @@ -0,0 +1,4 @@ +# import and use the celery +from core.celery import app as celery_app + +__all__ = ['celery_app'] \ No newline at end of file diff --git a/shop/celery.py b/core/celery.py similarity index 100% rename from shop/celery.py rename to core/celery.py diff --git a/shop/__init__.py b/shop/__init__.py index f4c816a..8b13789 100644 --- a/shop/__init__.py +++ b/shop/__init__.py @@ -1,4 +1 @@ -# import and use the celery -from .celery import app as celery_app -__all__ = ['celery_app']