from .base import *


DEBUG = False
TEMPLATE_DEBUG = False

if DEBUG:
    STATICFILES_DIRS = (
        os.path.join(BASE_DIR, 'static'),
    )
else:
    STATIC_ROOT = os.path.join(BASE_DIR, 'static')


# Parse database configuration from $DATABASE_URL
import dj_database_url
DATABASES['default'] =  dj_database_url.config()


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

# Allow all host headers
ALLOWED_HOSTS = [
    'blends.herokuapp.com', 
    'www.serendipityartisanblends.com', 
    'serendipityartisanblends.com'
]

AWS_STORAGE_BUCKET_NAME = 'acs-serendipity-prod'
MEDIA_URL = 'https://%s.s3.amazonaws.com/' % AWS_STORAGE_BUCKET_NAME
@@ -23,20 +23,19 @@
 DEBUG = 
-Fals
+Tru
 e%0ATEMPLA
@@ -49,13 +49,13 @@
 G = 
-False
+DEBUG
 %0A%0Aif

debug on