diff options
author | aditya | 2020-05-21 11:57:51 +0530 |
---|---|---|
committer | aditya | 2020-05-21 11:57:51 +0530 |
commit | 44818b983a7fdc07650eedcea19032c72492057c (patch) | |
tree | 17b23effaf3c1f15c57994e69ef4a3a0f239f2e5 | |
parent | d5666f34ada773c6ca163af9e71dee9f5e18185e (diff) | |
download | online_test-44818b983a7fdc07650eedcea19032c72492057c.tar.gz online_test-44818b983a7fdc07650eedcea19032c72492057c.tar.bz2 online_test-44818b983a7fdc07650eedcea19032c72492057c.zip |
Rename celery.py to celery_settings and change imports
-rw-r--r-- | online_test/__init__.py | 4 | ||||
-rw-r--r-- | online_test/celery_settings.py (renamed from online_test/celery.py) | 2 |
2 files changed, 1 insertions, 5 deletions
diff --git a/online_test/__init__.py b/online_test/__init__.py index 642bfd0..c050823 100644 --- a/online_test/__init__.py +++ b/online_test/__init__.py @@ -1,6 +1,4 @@ -from __future__ import absolute_import, unicode_literals - -from online_test.celery import app as celery_app +from .celery_settings import app as celery_app __all__ = ('celery_app',) diff --git a/online_test/celery.py b/online_test/celery_settings.py index 6868b89..059bb87 100644 --- a/online_test/celery.py +++ b/online_test/celery_settings.py @@ -1,5 +1,3 @@ -from __future__ import absolute_import, unicode_literals - import os from django.conf import settings from celery import Celery |