I have read Django - CSRF verification failed and several questions (and answers) related to django and POST method. One of the best-but-not-working-for-me answer is https://sta
Try putting RequestContext in the search_form view's render_to_response:
context_instance=RequestContext(request)