summaryrefslogtreecommitdiff
path: root/yaksh/admin.py
diff options
context:
space:
mode:
authorankitjavalkar2016-08-19 10:58:44 +0530
committerankitjavalkar2016-08-19 10:58:44 +0530
commit23ce8a47eeacba027ca35d6f0bcbd3ff78692913 (patch)
tree19a7a4345b722036609ef933c0a715e0a46aea6e /yaksh/admin.py
parent50c3008096f5f02a036d8d9a5cbfe9cc43ff0823 (diff)
downloadonline_test-23ce8a47eeacba027ca35d6f0bcbd3ff78692913.tar.gz
online_test-23ce8a47eeacba027ca35d6f0bcbd3ff78692913.tar.bz2
online_test-23ce8a47eeacba027ca35d6f0bcbd3ff78692913.zip
- Modify admin.py to include Course model
- Modify user.html and complete.html to include id for html elements
Diffstat (limited to 'yaksh/admin.py')
-rw-r--r--yaksh/admin.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/yaksh/admin.py b/yaksh/admin.py
index c31b99b..2ce3ac4 100644
--- a/yaksh/admin.py
+++ b/yaksh/admin.py
@@ -1,5 +1,5 @@
from yaksh.models import Question, Quiz
-from yaksh.models import TestCase, StandardTestCase, StdoutBasedTestCase
+from yaksh.models import TestCase, StandardTestCase, StdoutBasedTestCase, Course
from django.contrib import admin
admin.site.register(Question)
@@ -7,3 +7,4 @@ admin.site.register(TestCase)
admin.site.register(StandardTestCase)
admin.site.register(StdoutBasedTestCase)
admin.site.register(Quiz)
+admin.site.register(Course)