diff options
author | adityacp | 2020-04-20 18:08:17 +0530 |
---|---|---|
committer | adityacp | 2020-04-20 18:08:17 +0530 |
commit | d482c57974033f97515f510df059327555397ef8 (patch) | |
tree | 3aa18a10a3062a71b2e6e56cd894d38362bd4f87 | |
parent | 52533db57fa0145d2a76e41bd24f2580218078b9 (diff) | |
download | online_test-d482c57974033f97515f510df059327555397ef8.tar.gz online_test-d482c57974033f97515f510df059327555397ef8.tar.bz2 online_test-d482c57974033f97515f510df059327555397ef8.zip |
Add absoulute path in init.py
-rw-r--r-- | online_test/__init__.py | 2 | ||||
-rw-r--r-- | online_test/celery.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/online_test/__init__.py b/online_test/__init__.py index 07d5e33..1506ef2 100644 --- a/online_test/__init__.py +++ b/online_test/__init__.py @@ -1,6 +1,6 @@ from __future__ import absolute_import, unicode_literals -from .celery import app as celery_app +from online_test.celery import app as celery_app __all__ = ('celery_app',) diff --git a/online_test/celery.py b/online_test/celery.py index ac6e395..6868b89 100644 --- a/online_test/celery.py +++ b/online_test/celery.py @@ -22,4 +22,4 @@ app.autodiscover_tasks(lambda: settings.INSTALLED_APPS) def ping(): # type: () -> str """Simple task that just returns 'pong'.""" - return 'pong'
\ No newline at end of file + return 'pong' |