import os

from .base import BASE_DIR


# Database
# https://docs.djangoproject.com/en/1.9/ref/settings/#databases

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.sqlite3',
        'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
    }
}

@@ -4,16 +4,40 @@
 ort os%0A%0A
+import dj_database_url%0A%0A
 from .ba
@@ -137,22 +137,204 @@
 es%0A%0A
-DATABASES = %7B%0A
+# dj-database-url%0A# https://github.com/kennethreitz/dj-database-url%0A%0ADATABASES = %7B%7D%0ADATABASES%5B'default'%5D = dj_database_url.config(%0A    default=os.environ.get(%22DATABASE_URL%22),%0A)%0A%0A# DATABASES = %7B%0A# 
     
@@ -346,16 +346,18 @@
 ult': %7B%0A
+# 
         
@@ -396,24 +396,25 @@
 lite3',%0A
+#
         
 'NAME': 
@@ -405,16 +405,17 @@
         
+ 
 'NAME': 
@@ -456,12 +456,16 @@
 '),%0A
+# 
     %7D%0A
+# 
 %7D%0A

update database settings: change database url to environment variable