You only need to install Django widget_tweaks
pip install django-widget-tweaks
After you can to do something like that on your template:
{{ form.search_query|attr:"type:search" }}
—
Read all about it here.
You only need to install Django widget_tweaks
pip install django-widget-tweaks
After you can to do something like that on your template:
{{ form.search_query|attr:"type:search" }}
—
Read all about it here.