Put settings.py back to normal
Change the search URL and id based on whether haystack is enabled or not