diff options
author | ankitjavalkar | 2020-10-07 12:04:12 +0530 |
---|---|---|
committer | GitHub | 2020-10-07 12:04:12 +0530 |
commit | 0e04d98e66b53763926af8027cbd275d890bfab4 (patch) | |
tree | e225826a16daf9a9485607457d5d67b568753553 /yaksh/admin.py | |
parent | ed81054c05ff297ea241ce08664e0d2323da115c (diff) | |
parent | c6c57869fe653d2ea0502017a9fb15f2f745491b (diff) | |
download | online_test-0e04d98e66b53763926af8027cbd275d890bfab4.tar.gz online_test-0e04d98e66b53763926af8027cbd275d890bfab4.tar.bz2 online_test-0e04d98e66b53763926af8027cbd275d890bfab4.zip |
Merge pull request #774 from adityacp/upload_toc
Add table of contents for the lessons
Diffstat (limited to 'yaksh/admin.py')
-rw-r--r-- | yaksh/admin.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/yaksh/admin.py b/yaksh/admin.py index 3d3ba89..e98c7c5 100644 --- a/yaksh/admin.py +++ b/yaksh/admin.py @@ -1,7 +1,8 @@ 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, + LessonQuizAnswer, Answer ) from django.contrib import admin @@ -59,3 +60,7 @@ 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) +admin.site.register(LessonQuizAnswer) +admin.site.register(Answer) |