diff options
author | adityacp | 2018-07-03 12:56:43 +0530 |
---|---|---|
committer | adityacp | 2018-07-03 12:56:43 +0530 |
commit | 90079412866434337b983bee222f3de904e79a76 (patch) | |
tree | 2fdb0ad22632a92b74dbc88ad2af38494a7ba2ef /yaksh/forms.py | |
parent | 637a75a5ea8fcae1e00c0200d52c471d50c8729a (diff) | |
download | online_test-90079412866434337b983bee222f3de904e79a76.tar.gz online_test-90079412866434337b983bee222f3de904e79a76.tar.bz2 online_test-90079412866434337b983bee222f3de904e79a76.zip |
Set marks field as not required in QuestionFilterForm
Diffstat (limited to 'yaksh/forms.py')
-rw-r--r-- | yaksh/forms.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/yaksh/forms.py b/yaksh/forms.py index 41c9176..99e8dbe 100644 --- a/yaksh/forms.py +++ b/yaksh/forms.py @@ -258,6 +258,7 @@ class QuestionFilterForm(forms.Form): self.fields['marks'] = forms.FloatField( widget=forms.Select(choices=points_options) ) + self.fields['marks'].required = False language = forms.CharField( max_length=8, widget=forms.Select(choices=languages)) question_type = forms.CharField( |