Set Search form text required to False

This commit is contained in:
Aroy-Art 2024-10-22 22:47:32 +02:00
parent fcf9899121
commit c4071587da
Signed by: Aroy
GPG key ID: DB9689E9391DD156

View file

@ -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',