bornhack-website/bornhack/settings/production.py

16 lines
256 B
Python
Raw Normal View History

2015-10-03 01:07:05 +00:00
from .base import *
import environ
env = environ.Env(
ENGINE='django.db.backends.postgres_psycopg2',
)
environ.Env.read_env()
SECRET_KEY = env('SECRET_KEY')
DEBUG = False
ALLOWED_HOSTS = env('ALLOWED_HOSTS')
DATABASES = {
'default': env.db(),
}