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
This is why Python 3 has a bad rap.
master
Nick Sergeant
4 years ago
parent
1217e7ddb8
commit
db226eb511
1 changed files
with
3 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-2
settings.py
+ 3
- 2
settings.py
View File
@@ -1,6 +1,7 @@
from urllib.parse import urlparse
import dj_database_url
import os
import urllib
if 'DATABASE_URL' in os.environ:
@@ -11,7 +12,7 @@ if 'SEARCHBOX_SSL_URL' in os.environ:
url = os.environ.get('SEARCHBOX_SSL_URL')
es = url
lib.
parse(url)
es = urlparse(url)
HAYSTACK_CONNECTIONS = {
'default': {
Write
Preview
Loading…
Cancel
Save