From 90079412866434337b983bee222f3de904e79a76 Mon Sep 17 00:00:00 2001 From: adityacp Date: Tue, 3 Jul 2018 12:56:43 +0530 Subject: Set marks field as not required in QuestionFilterForm --- yaksh/forms.py | 1 + 1 file changed, 1 insertion(+) (limited to 'yaksh') 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( -- cgit