diff options
author | adityacp | 2016-09-21 14:38:00 +0530 |
---|---|---|
committer | adityacp | 2016-09-21 14:38:00 +0530 |
commit | e1811e3560742a4070f3e92e059a7cd1c50f1f36 (patch) | |
tree | 1e37a9af26007ad80e8c284d63d763db4ed1d491 /yaksh | |
parent | a689afd85ef3f0e4ddb8255e06c50f400bebd165 (diff) | |
download | online_test-e1811e3560742a4070f3e92e059a7cd1c50f1f36.tar.gz online_test-e1811e3560742a4070f3e92e059a7cd1c50f1f36.tar.bz2 online_test-e1811e3560742a4070f3e92e059a7cd1c50f1f36.zip |
changed func name from create_demo_que_ppr to create_demo_quiz_paper
Diffstat (limited to 'yaksh')
-rw-r--r-- | yaksh/models.py | 4 | ||||
-rw-r--r-- | yaksh/templates/manage.html | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/yaksh/models.py b/yaksh/models.py index d176c57..71cd258 100644 --- a/yaksh/models.py +++ b/yaksh/models.py @@ -167,7 +167,7 @@ class Course(models.Model): demo_ques = Question() demo_ques.create_demo_questions(user) demo_que_ppr = QuestionPaper() - demo_que_ppr.create_demo_que_ppr(demo_quiz) + demo_que_ppr.create_demo_quiz_ppr(demo_quiz) success = True else: success = False @@ -655,7 +655,7 @@ class QuestionPaper(models.Model): prerequisite = self._get_prequisite_paper() return prerequisite._is_questionpaper_passed(user) - def create_demo_que_ppr(self, demo_quiz): + def create_demo_quiz_ppr(self, demo_quiz): question_paper = QuestionPaper.objects.create(quiz=demo_quiz, total_marks=5.0, shuffle_questions=True diff --git a/yaksh/templates/manage.html b/yaksh/templates/manage.html index ea587df..a736b0a 100644 --- a/yaksh/templates/manage.html +++ b/yaksh/templates/manage.html @@ -88,7 +88,7 @@ <li>In Courses you can view Demo Quiz.</li> <li>Click on the Demo Quiz and Click on User Mode or God Mode to take the quiz. </li> - <li>You can also edit Demo quiz. + <li>You can also edit the Demo quiz. </li> </ul> </p> |