replacing search block by django form
fixing searching query