search: Add setting to control whether search pills are enabled.

This setting isn't intended to exist long term, but instead to make it
possible to merge our search pills code before we're ready to cut over
production environments to use it.
This commit is contained in:
Tim Abbott
2018-07-14 15:02:08 +05:30
parent 5e93922a7d
commit 8dca8f1087
4 changed files with 7 additions and 0 deletions

View File

@@ -89,3 +89,5 @@ SENDFILE_BACKEND = 'sendfile.backends.development'
ALWAYS_SEND_ALL_HOTSPOTS = False # type: bool
THUMBOR_URL = 'http://127.0.0.1:9995'
SEARCH_PILLS_ENABLED = os.getenv('SEARCH_PILLS_ENABLED', False)