Using django haystack search with global search bar in template
问题 I have a django project that needs to search 2 different models and one of the models has 3 types that I need to filter based on. I have haystack installed and working in a basic sense (using the default url conf and SearchView for my model and the template from the getting started documentation is returning results fine). The problem is that I'm only able to get results by using the search form in the basic search.html template and I'm trying to make a global search bar work with haystack