summaryrefslogtreecommitdiff
path: root/yaksh/forms.py
diff options
context:
space:
mode:
authorankitjavalkar2016-10-04 18:34:00 +0530
committerankitjavalkar2016-10-13 15:12:07 +0530
commit40c43990ce2b352b85711beef2763aa22763faa9 (patch)
treecc2c9e5c2446e9813c8f2b14cf70a7ec451e83fd /yaksh/forms.py
parent9b60cc7b8f000f96d5f818f759a6c63d5a26f239 (diff)
downloadonline_test-40c43990ce2b352b85711beef2763aa22763faa9.tar.gz
online_test-40c43990ce2b352b85711beef2763aa22763faa9.tar.bz2
online_test-40c43990ce2b352b85711beef2763aa22763faa9.zip
Hide questions instead of deletion
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 bc9b4c0..1931fad 100644
--- a/yaksh/forms.py
+++ b/yaksh/forms.py
@@ -177,7 +177,7 @@ class QuestionForm(forms.ModelForm):
class Meta:
model = Question
- exclude = ['user']
+ exclude = ['user', 'active']
class FileForm(forms.Form):