Update settings.py

Handling errors:
global name 'SEARCH_NOT_FOUND_MESSAGE' is not defined
global name 'SEARCH_TEMPLATE_NAME' is not defined