diff options
-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' |