From c4071587da0bb18a0c4bb521d6e92a7ee92a25a3 Mon Sep 17 00:00:00 2001 From: Aroy-Art Date: Tue, 22 Oct 2024 22:47:32 +0200 Subject: [PATCH] Set Search form text required to False --- archivist/apps/sites/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archivist/apps/sites/forms.py b/archivist/apps/sites/forms.py index 8e436ee..63ecfac 100644 --- a/archivist/apps/sites/forms.py +++ b/archivist/apps/sites/forms.py @@ -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',