DEBUG = True

# 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 = ['*']

# Static asset configuration
import os
BASE_DIR = os.path.abspath(os.path.join(os.path.dirname(__file__),".."))
print BASE_DIR
STATIC_ROOT = 'staticfiles'
STATIC_URL = '/static/'

STATICFILES_DIRS = (
    os.path.join(BASE_DIR, 'static'),
)

# Python dotted path to the WSGI application used by Django's runserver.
WSGI_APPLICATION = 'traffpunkt_aalto.wsgi.application'
DEBUG = True

# 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 = ['*']

# Static asset configuration
import os
BASE_DIR = os.path.abspath(os.path.join(os.path.dirname(__file__),".."))
print BASE_DIR
STATIC_ROOT = 'staticfiles'
STATIC_URL = '/static/'

STATICFILES_DIRS = (
    os.path.join(BASE_DIR, 'static'),
)

# Python dotted path to the WSGI application used by Django's runserver.
WSGI_APPLICATION = 'traffpunkt_aalto.wsgi.application'
# Parse database configuration from $DATABASE_URL # Honor the 'X-Forwarded-Proto' header for request.is_secure() # Allow all host headers # Static asset configuration # Python dotted path to the WSGI application used by Django's runserver.