Set Search form text required to False
This commit is contained in:
parent
fcf9899121
commit
c4071587da
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ class SearchForm(forms.Form):
|
|||
q = forms.CharField(
|
||||
label='Search',
|
||||
max_length=100,
|
||||
required=True,
|
||||
required=False,
|
||||
widget=forms.TextInput(
|
||||
attrs={
|
||||
'class': 'form-control',
|
||||
|
|
Loading…
Reference in a new issue