summaryrefslogtreecommitdiff
path: root/yaksh/admin.py
diff options
context:
space:
mode:
authorCruiseDevice2020-04-11 17:45:31 +0530
committerCruiseDevice2020-04-11 17:45:31 +0530
commit2a9f81cb32acfd7a2efc18f58c4529b39ce4061b (patch)
tree4bf11c11a597101a99f09784517ca54923a63407 /yaksh/admin.py
parent4802a89acef7567c6a8861daab60924fe862367f (diff)
downloadonline_test-2a9f81cb32acfd7a2efc18f58c4529b39ce4061b.tar.gz
online_test-2a9f81cb32acfd7a2efc18f58c4529b39ce4061b.tar.bz2
online_test-2a9f81cb32acfd7a2efc18f58c4529b39ce4061b.zip
Discussion forum for a course
Diffstat (limited to 'yaksh/admin.py')
-rw-r--r--yaksh/admin.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/yaksh/admin.py b/yaksh/admin.py
index 9c36a98..4489ffc 100644
--- a/yaksh/admin.py
+++ b/yaksh/admin.py
@@ -1,7 +1,7 @@
from yaksh.models import Question, Quiz, QuestionPaper, Profile
from yaksh.models import (TestCase, StandardTestCase, StdIOBasedTestCase,
Course, AnswerPaper, CourseStatus, LearningModule,
- Lesson
+ Lesson, Thread, Comment
)
from django.contrib import admin
@@ -48,6 +48,8 @@ class QuizAdmin(admin.ModelAdmin):
admin.site.register(Profile, ProfileAdmin)
admin.site.register(Question)
admin.site.register(TestCase)
+admin.site.register(Thread)
+admin.site.register(Comment)
admin.site.register(StandardTestCase)
admin.site.register(StdIOBasedTestCase)
admin.site.register(Course, CourseAdmin)