From 8006ffb4a5bd54aa960b24f1508d95844fa579de Mon Sep 17 00:00:00 2001
From: adityacp
Date: Mon, 15 Jan 2018 16:30:26 +0530
Subject: Change in template, test_views, urls and views
- Allow teacher to edit questionpaper for a quiz
- Add test to check if teacher is allowed to edit questionpaper for a quiz
---
yaksh/templates/yaksh/add_quiz.html | 1 +
yaksh/test_views.py | 92 +++++++++++++++++++++++++++++++------
yaksh/urls.py | 2 +
yaksh/views.py | 19 ++++++--
4 files changed, 94 insertions(+), 20 deletions(-)
(limited to 'yaksh')
diff --git a/yaksh/templates/yaksh/add_quiz.html b/yaksh/templates/yaksh/add_quiz.html
index d3705e3..bfd8aa1 100644
--- a/yaksh/templates/yaksh/add_quiz.html
+++ b/yaksh/templates/yaksh/add_quiz.html
@@ -38,6 +38,7 @@
{% if quiz_id and course_id %}
You can check the quiz by attempting it in the following modes:
+ View Question Paper