summaryrefslogtreecommitdiff
path: root/testapp/exam/views.py
diff options
context:
space:
mode:
authorprathamesh2014-08-05 17:35:58 +0530
committerprathamesh2014-08-05 17:35:58 +0530
commit8abc334f9b6ab9b4285a4880fa57df5ea175ad45 (patch)
tree5dd01820f431df0836747b8edaf8c53171037f0d /testapp/exam/views.py
parent009e421c7a9fce96164f820ec8cba3a6f206d567 (diff)
downloadonline_test-8abc334f9b6ab9b4285a4880fa57df5ea175ad45.tar.gz
online_test-8abc334f9b6ab9b4285a4880fa57df5ea175ad45.tar.bz2
online_test-8abc334f9b6ab9b4285a4880fa57df5ea175ad45.zip
changed import exam.* to testapp.exam.*
So when the package is installed on a system, it will have proper path to the exam app.
Diffstat (limited to 'testapp/exam/views.py')
-rw-r--r--testapp/exam/views.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/testapp/exam/views.py b/testapp/exam/views.py
index 7c9af6c..60dc01d 100644
--- a/testapp/exam/views.py
+++ b/testapp/exam/views.py
@@ -15,11 +15,11 @@ from django.views.decorators.csrf import csrf_exempt
from taggit.models import Tag
from itertools import chain
# Local imports.
-from exam.models import Quiz, Question, QuestionPaper, QuestionSet
-from exam.models import Profile, Answer, AnswerPaper, User
-from exam.forms import UserRegisterForm, UserLoginForm, QuizForm,\
+from testapp.exam.models import Quiz, Question, QuestionPaper, QuestionSet
+from testapp.exam.models import Profile, Answer, AnswerPaper, User
+from testapp.exam.forms import UserRegisterForm, UserLoginForm, QuizForm,\
QuestionForm, RandomQuestionForm
-from exam.xmlrpc_clients import code_server
+from testapp.exam.xmlrpc_clients import code_server
from settings import URL_ROOT
# The directory where user data can be saved.