I have 10 fields in a Django form like this
class SearchForm(forms.Form): student_number = forms.CharField(required=False) final_date = forms.DateField(required=False) location_area = forms.FloatField(required=False)
form.is_valid() I want to exclude few fields from validation like
[location_area, final_date] and rest all perform validation or only want to validate
How can I do that?