summaryrefslogtreecommitdiff
path: root/yaksh/admin.py
diff options
context:
space:
mode:
authorPalaparthy Adityachandra2020-04-27 13:51:06 +0530
committerGitHub2020-04-27 13:51:06 +0530
commit53a0c4ad3e733f3960000527f83565f2fd8fc412 (patch)
treeb3111bb5f317ec1ca12b173a3bce8b6a7e1b9c62 /yaksh/admin.py
parent01c9faa0abeedb748600c35a35bd6cf8124bd64d (diff)
parent2116310ed81ed81035a25ccc5746e8114b6a7b24 (diff)
downloadonline_test-53a0c4ad3e733f3960000527f83565f2fd8fc412.tar.gz
online_test-53a0c4ad3e733f3960000527f83565f2fd8fc412.tar.bz2
online_test-53a0c4ad3e733f3960000527f83565f2fd8fc412.zip
Merge pull request #690 from CruiseDevice/forum
Discussion Forum for Yaksh
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..3d3ba89 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, Post, 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(Post)
+admin.site.register(Comment)
admin.site.register(StandardTestCase)
admin.site.register(StdIOBasedTestCase)
admin.site.register(Course, CourseAdmin)