This website works better with JavaScript.
Home
Help
Sign In
marrub
/
snipt
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Separate searchbox from db.
master
Nick Sergeant
5 years ago
parent
ab62434ab5
commit
dc94b635a6
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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/')
Write
Preview
Loading…
Cancel
Save