diff options
author | ankitjavalkar | 2016-10-04 18:34:00 +0530 |
---|---|---|
committer | ankitjavalkar | 2016-10-13 15:12:07 +0530 |
commit | 40c43990ce2b352b85711beef2763aa22763faa9 (patch) | |
tree | cc2c9e5c2446e9813c8f2b14cf70a7ec451e83fd /yaksh/forms.py | |
parent | 9b60cc7b8f000f96d5f818f759a6c63d5a26f239 (diff) | |
download | online_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.py | 2 |
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): |