From cf556a4bebc6056317304afe2b0cf41eeec178f8 Mon Sep 17 00:00:00 2001 From: awaazde Date: Thu, 21 May 2020 12:57:58 +0530 Subject: [PATCH] Issue #28/PR #38: rolled back to tag 0.3.0 --- test_app/celery_app.py | 10 ++++++++++ test_app/test_app/shared/migrations/__init__.py | 0 2 files changed, 10 insertions(+) create mode 100644 test_app/celery_app.py create mode 100644 test_app/test_app/shared/migrations/__init__.py diff --git a/test_app/celery_app.py b/test_app/celery_app.py new file mode 100644 index 0000000..5b0b2a1 --- /dev/null +++ b/test_app/celery_app.py @@ -0,0 +1,10 @@ +import os +os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'test_app.settings') + +from django.conf import settings + +from tenant_schemas_celery.app import CeleryApp + +app = CeleryApp() +app.config_from_object('django.conf:settings') +app.autodiscover_tasks(lambda: settings.INSTALLED_APPS) diff --git a/test_app/test_app/shared/migrations/__init__.py b/test_app/test_app/shared/migrations/__init__.py new file mode 100644 index 0000000..e69de29