Browse Source

Separate searchbox from db.

master
Nick Sergeant 5 years ago
parent
commit
dc94b635a6
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      settings.py

+ 2
- 0
settings.py View File

@@ -11,6 +11,8 @@ if 'DATABASE_URL' in os.environ:

DATABASES = {'default': dj_database_url.config()}

if 'SEARCHBOX_SSL_URL' in os.environ:

es = urlparse(os.environ.get('SEARCHBOX_SSL_URL') or
'http://127.0.0.1:9200/')



Loading…
Cancel
Save