summaryrefslogtreecommitdiff
path: root/yaksh/admin.py
diff options
context:
space:
mode:
authoradityacp2020-08-26 20:29:03 +0530
committeradityacp2020-08-26 20:29:03 +0530
commitd54b62c2803f0f0edb45348f47d6a541ca09e022 (patch)
tree67c5f3ee03d1a3702db00a5dab3d699be9692e9e /yaksh/admin.py
parent3999e744fe1a3a4c4fcb7d2763b36def9d7bb213 (diff)
downloadonline_test-d54b62c2803f0f0edb45348f47d6a541ca09e022.tar.gz
online_test-d54b62c2803f0f0edb45348f47d6a541ca09e022.tar.bz2
online_test-d54b62c2803f0f0edb45348f47d6a541ca09e022.zip
First cut for in video quizzes
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 3d3ba89..d377158 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, Post, Comment
+ Lesson, Post, Comment, Topic, TableOfContents
)
from django.contrib import admin
@@ -59,3 +59,5 @@ admin.site.register(AnswerPaper, AnswerPaperAdmin)
admin.site.register(CourseStatus, CourseStatusAdmin)
admin.site.register(Lesson, LessonAdmin)
admin.site.register(LearningModule, LearningModuleAdmin)
+admin.site.register(Topic)
+admin.site.register(TableOfContents)