jbalogh/zamboni — comment on commit e07256c6e6313d266e1b55d578e6684675282f26
File: apps/search/views.py line 421
By kumar303:

+1 for context processor.

Or would it help to use https://github.com/jacobian/django-pjax ? It pretty much does the same thing except you create a new template named results_pjax.html instead of use if statements.