summaryrefslogtreecommitdiff
path: root/yaksh/forms.py
diff options
context:
space:
mode:
authorPrabhu Ramachandran2016-10-21 23:12:10 +0530
committerGitHub2016-10-21 23:12:10 +0530
commitadae38cb47d8c36280f2e6cd40ccade3ce1108c5 (patch)
tree5a5f9b294e4cbf19a560786bdd8e47a93a961dec /yaksh/forms.py
parent9b60cc7b8f000f96d5f818f759a6c63d5a26f239 (diff)
parentd33e97e4081037d92f89c7ae5742f74411b51931 (diff)
downloadonline_test-adae38cb47d8c36280f2e6cd40ccade3ce1108c5.tar.gz
online_test-adae38cb47d8c36280f2e6cd40ccade3ce1108c5.tar.bz2
online_test-adae38cb47d8c36280f2e6cd40ccade3ce1108c5.zip
Merge pull request #147 from ankitjavalkar/no-delete-question
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):