summaryrefslogtreecommitdiff
path: root/yaksh/admin.py
diff options
context:
space:
mode:
authormaheshgudi2016-08-09 18:13:22 +0530
committermaheshgudi2016-08-29 14:07:07 +0530
commit80e3a68ddfcc15fc88442d7af53d804653c4d2a4 (patch)
treea0ae4c9f445ed041bfdf73f4184503a43762ca7d /yaksh/admin.py
parentd9f6a93ea8d4ddf9f139649567bd680e3f101556 (diff)
downloadonline_test-80e3a68ddfcc15fc88442d7af53d804653c4d2a4.tar.gz
online_test-80e3a68ddfcc15fc88442d7af53d804653c4d2a4.tar.bz2
online_test-80e3a68ddfcc15fc88442d7af53d804653c4d2a4.zip
added Course and question paper classes in admin.py
Diffstat (limited to 'yaksh/admin.py')
-rw-r--r--yaksh/admin.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/yaksh/admin.py b/yaksh/admin.py
index 2ce3ac4..b25c0af 100644
--- a/yaksh/admin.py
+++ b/yaksh/admin.py
@@ -1,10 +1,14 @@
from yaksh.models import Question, Quiz
from yaksh.models import TestCase, StandardTestCase, StdoutBasedTestCase, Course
+from yaksh.models import Question, Quiz, Course, QuestionPaper
+from yaksh.models import TestCase, StandardTestCase, StdoutBasedTestCase
from django.contrib import admin
admin.site.register(Question)
admin.site.register(TestCase)
admin.site.register(StandardTestCase)
admin.site.register(StdoutBasedTestCase)
+admin.site.register(Course)
admin.site.register(Quiz)
admin.site.register(Course)
+admin.site.register(QuestionPaper)