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(
|
q = forms.CharField(
|
||||||
label='Search',
|
label='Search',
|
||||||
max_length=100,
|
max_length=100,
|
||||||
required=True,
|
required=False,
|
||||||
widget=forms.TextInput(
|
widget=forms.TextInput(
|
||||||
attrs={
|
attrs={
|
||||||
'class': 'form-control',
|
'class': 'form-control',
|
||||||
|
|
Loading…
Reference in a new issue