diff options
author | adityacp | 2018-01-19 15:58:06 +0530 |
---|---|---|
committer | adityacp | 2018-01-19 17:01:44 +0530 |
commit | bfc3f08d5da08f774e76aa169a50f8e7847ff6ed (patch) | |
tree | 7405617e9351e724db5269e55d915ad6cbaff01d /yaksh/forms.py | |
parent | 6da1f77a6a1a2bffb85d5395f2703f186b18cb4a (diff) | |
download | online_test-bfc3f08d5da08f774e76aa169a50f8e7847ff6ed.tar.gz online_test-bfc3f08d5da08f774e76aa169a50f8e7847ff6ed.tar.bz2 online_test-bfc3f08d5da08f774e76aa169a50f8e7847ff6ed.zip |
Change in views and templates
- Add active field for exercise form
- Fix views test case for creating exercise
- Show question paper for exercise
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 8399bc9..9fd2eaa 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', 'view_answerpaper'] + fields = ['description', 'view_answerpaper', 'active'] class QuizForm(forms.ModelForm): |