Render Search form on other templates than search.html (

Skip to first unread message

Kyle Jez

Mar 16, 2017, 1:44:57 PM3/16/17
to django-haystack
I've dug through Stackoverflow and this Google Group, finding a few similar questions with no answers that work for me. I've also done what I can with my knowledge.

Bottom line: With a sidebar blog search in base.html, the search form only renders and works correctly when at the /search/ page. 

What do I need to do to have the search form work at all templates that extend the base.html, which is where I want the search form, then return results (with the working sidebar) at /search/?

Steve Schwarz

Mar 16, 2017, 2:09:53 PM3/16/17
It sounds like you need to set the form's action attribute to "/search/"


You received this message because you are subscribed to the Google Groups "django-haystack" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
For more options, visit
Sent from Gmail Mobile
Reply all
Reply to author
0 new messages