Permalink
Browse files

This is why Python 3 has a bad rap.

  • Loading branch information...
nicksergeant committed Sep 18, 2017
1 parent 1217e7d commit db226eb51192b5919c72ae51352477603d2568c3
Showing with 3 additions and 2 deletions.
  1. +3 −2 settings.py
View
@@ -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 @@
url = os.environ.get('SEARCHBOX_SSL_URL')
es = urllib.parse(url)
es = urlparse(url)
HAYSTACK_CONNECTIONS = {
'default': {

0 comments on commit db226eb

Please sign in to comment.