summaryrefslogtreecommitdiff
path: root/yaksh/forms.py
diff options
context:
space:
mode:
authorprathamesh2018-01-03 19:27:25 +0530
committerprathamesh2018-01-03 19:32:35 +0530
commit4310d5905a9cc702198e42830c1b670957cd7360 (patch)
tree098c7cdc1e97d5e7bd859e35107a4733e800a586 /yaksh/forms.py
parent44e16651a9f7faec95a32c19738a996a731ae57a (diff)
downloadonline_test-4310d5905a9cc702198e42830c1b670957cd7360.tar.gz
online_test-4310d5905a9cc702198e42830c1b670957cd7360.tar.bz2
online_test-4310d5905a9cc702198e42830c1b670957cd7360.zip
Made UI changes as per suggestion
Added view answerpaper option to exercise form.
Diffstat (limited to 'yaksh/forms.py')
-rw-r--r--yaksh/forms.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yaksh/forms.py b/yaksh/forms.py
index 84db33e..8399bc9 100644
--- a/yaksh/forms.py
+++ b/yaksh/forms.py
@@ -176,7 +176,7 @@ class UserLoginForm(forms.Form):
class ExerciseForm(forms.ModelForm):
class Meta:
model = Quiz
- fields = ['description']
+ fields = ['description', 'view_answerpaper']
class QuizForm(forms.ModelForm):