import dj_database_url

from .common import *

SECRET_KEY = '4ln7qg*67amc&7-h^=^0%ml_s(w4y_fy4uybib%j(v(46-x0i2'
DEBUG = False
ALLOWED_HOSTS = ['*']

db_from_env = dj_database_url.config(conn_max_age=500)
DATABASES['default'].update(db_from_env)

# Simplified static file serving.
# https://warehouse.python.org/project/whitenoise/
STATICFILES_STORAGE = 'whitenoise.django.GzipManifestStaticFilesStorage'

# Honor the 'X-Forwarded-Proto' header for request.is_secure()
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')

@@ -15,16 +15,26 @@
 base_url
+%0Aimport os
 %0A%0Afrom .
@@ -67,60 +67,32 @@
 Y = 
-'4ln7qg*67amc&7-h%5E=%5E0%25ml_s(w4y_fy4uybib%25j(v(46-x0i2'
+os.environ%5B'SECRET_KEY'%5D
 %0ADEB

Use `SECRET_KEY` from env in Heroku