summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--online_test/__init__.py2
-rw-r--r--online_test/celery_settings.py (renamed from online_test/celery.py)2
-rw-r--r--yaksh/test_views.py2
3 files changed, 2 insertions, 4 deletions
diff --git a/online_test/__init__.py b/online_test/__init__.py
index 642bfd0..e5ad12d 100644
--- a/online_test/__init__.py
+++ b/online_test/__init__.py
@@ -1,6 +1,6 @@
from __future__ import absolute_import, unicode_literals
-from online_test.celery import app as celery_app
+from online_test.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
diff --git a/yaksh/test_views.py b/yaksh/test_views.py
index 1418ee0..24750e3 100644
--- a/yaksh/test_views.py
+++ b/yaksh/test_views.py
@@ -35,7 +35,7 @@ from yaksh.models import (
from yaksh.views import add_as_moderator, course_forum, post_comments
from yaksh.forms import PostForm, CommentForm
from yaksh.decorators import user_has_profile
-from online_test.celery import app
+from online_test.celery_settings import app
from notifications_plugin.models import Notification