summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--online_test/__init__.py4
-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